{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twilio - Accounts A2p Trunks API",
    "version": "1.52.0"
  },
  "items": [
    {
      "info": {
        "name": "Trunks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "FetchTrunks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v2/Trunks/:SipTrunkDomain",
            "params": [
              {
                "name": "SipTrunkDomain",
                "value": "",
                "type": "path",
                "description": "The absolute URL of the SIP Trunk"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetch the Inbound Processing Region assigned to a SIP Trunk."
        },
        {
          "info": {
            "name": "UpdateTrunks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v2/Trunks/:SipTrunkDomain",
            "params": [
              {
                "name": "SipTrunkDomain",
                "value": "",
                "type": "path",
                "description": "The absolute URL of the SIP Trunk"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Assign an Inbound Processing Region to a SIP Trunk"
        },
        {
          "info": {
            "name": "FetchCredentialList",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/CredentialLists/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to fetch the credential list."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the CredentialList resource to fetch."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "DeleteCredentialList",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/CredentialLists/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to delete the credential list."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the CredentialList resource to delete."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "ListCredentialList",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/CredentialLists",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to read the credential lists."
              },
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000."
              },
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "The page index. This value is simply for client state."
              },
              {
                "name": "PageToken",
                "value": "",
                "type": "query",
                "description": "The page token. This is provided by the API."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "CreateCredentialList",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/CredentialLists",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk to associate the credential list with."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "FetchIpAccessControlList",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/IpAccessControlLists/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to fetch the IP Access Control List."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the IpAccessControlList resource to fetch."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "DeleteIpAccessControlList",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/IpAccessControlLists/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to delete the IP Access Control List."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the IpAccessControlList resource to delete."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Remove an associated IP Access Control List from a Trunk"
        },
        {
          "info": {
            "name": "ListIpAccessControlList",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/IpAccessControlLists",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to read the IP Access Control Lists."
              },
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000."
              },
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "The page index. This value is simply for client state."
              },
              {
                "name": "PageToken",
                "value": "",
                "type": "query",
                "description": "The page token. This is provided by the API."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "List all IP Access Control Lists for a Trunk"
        },
        {
          "info": {
            "name": "CreateIpAccessControlList",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/IpAccessControlLists",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk to associate the IP Access Control List with."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Associate an IP Access Control List with a Trunk"
        },
        {
          "info": {
            "name": "FetchOriginationUrl",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/OriginationUrls/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to fetch the OriginationUrl."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the OriginationUrl resource to fetch."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "UpdateOriginationUrl",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/OriginationUrls/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to update the OriginationUrl."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the OriginationUrl resource to update."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "DeleteOriginationUrl",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/OriginationUrls/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to delete the OriginationUrl."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the OriginationUrl resource to delete."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "ListOriginationUrl",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/OriginationUrls",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to read the OriginationUrl."
              },
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000."
              },
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "The page index. This value is simply for client state."
              },
              {
                "name": "PageToken",
                "value": "",
                "type": "query",
                "description": "The page token. This is provided by the API."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "CreateOriginationUrl",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/OriginationUrls",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk to associate the resource with."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "FetchPhoneNumber",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/PhoneNumbers/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to fetch the PhoneNumber resource."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the PhoneNumber resource to fetch."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "DeletePhoneNumber",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/PhoneNumbers/:Sid",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to delete the PhoneNumber resource."
              },
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the PhoneNumber resource to delete."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "ListPhoneNumber",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/PhoneNumbers",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to read the PhoneNumber resources."
              },
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000."
              },
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "The page index. This value is simply for client state."
              },
              {
                "name": "PageToken",
                "value": "",
                "type": "query",
                "description": "The page token. This is provided by the API."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "CreatePhoneNumber",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/PhoneNumbers",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk to associate the phone number with."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "FetchRecording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/Recording",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk from which to fetch the recording settings."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "UpdateRecording",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:TrunkSid/Recording",
            "params": [
              {
                "name": "TrunkSid",
                "value": "",
                "type": "path",
                "description": "The SID of the Trunk that will have its recording settings updated."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "FetchTrunk",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the Trunk resource to fetch."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "UpdateTrunk",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the OriginationUrl resource to update."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "DeleteTrunk",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Trunks/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The unique string that we created to identify the Trunk resource to delete."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "ListTrunk",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Trunks",
            "params": [
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000."
              },
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "The page index. This value is simply for client state."
              },
              {
                "name": "PageToken",
                "value": "",
                "type": "query",
                "description": "The page token. This is provided by the API."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "CreateTrunk",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Trunks",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}