The Twilio REST API offers programmatic access to manage communication resources such as accounts, sub‑accounts, addresses, applications, authorized connect apps, available phone numbers, and call feedback within the Twilio platform.
AccountSid(path, required) — The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
CallSid(path, required) — The call sid that uniquely identifies the call
GET
/2010-04-01/Accounts.json
Retrieves a collection of Accounts belonging to the account used to make the request
FriendlyName(query) — Only return the Account resources with friendly names that exactly match this name.
Status(query) — Only return Account resources with the given status. Can be `closed`, `suspended` or `active`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/2010-04-01/Accounts.json
Create a new Twilio Subaccount from the account making the request
GET
/2010-04-01/Accounts/{AccountSid}/Addresses.json
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to read.
CustomerName(query) — The `customer_name` of the Address resources to read.
FriendlyName(query) — The string that identifies the Address resources to read.
IsoCountry(query) — The ISO country code of the Address resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/2010-04-01/Accounts/{AccountSid}/Addresses.json
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will be responsible for the new Address resource.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the DependentPhoneNumber resources to read.
AddressSid(path, required) — The SID of the Address resource associated with the phone number.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Address resource to delete.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Address resource to fetch.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to update.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Address resource to update.
Retrieve a list of authorized-connect-apps belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AuthorizedConnectApp resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AuthorizedConnectApp resource to fetch.
ConnectAppSid(path, required) — The SID of the Connect App to fetch.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resources.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resource.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country to fetch available phone number information about.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
CountryCode(path, required) — The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country from which to read phone numbers.
AreaCode(query) — The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
Contains(query) — The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
SmsEnabled(query) — Whether the phone numbers can receive text messages. Can be: `true` or `false`.
MmsEnabled(query) — Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
VoiceEnabled(query) — Whether the phone numbers can receive calls. Can be: `true` or `false`.
ExcludeAllAddressRequired(query) — Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeLocalAddressRequired(query) — Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
ExcludeForeignAddressRequired(query) — Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
Beta(query) — Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
NearNumber(query) — Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
NearLatLong(query) — Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
Distance(query) — The search radius, in miles, for a `near_` query. Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
InPostalCode(query) — Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
InRegion(query) — Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
InRateCenter(query) — Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
InLata(query) — Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
InLocality(query) — Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
FaxEnabled(query) — Whether the phone numbers can receive faxes. Can be: `true` or `false`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
GET
/2010-04-01/Accounts/{AccountSid}/Balance.json
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information
AccountSid(path, required) — The unique SID identifier of the Account.
GET
/2010-04-01/Accounts/{AccountSid}/Calls.json
Retrieves a collection of calls made to and from your account
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to read.
To(query) — Only show calls made to this phone number, SIP address, Client identifier or SIM SID.
From(query) — Only include calls from this phone number, SIP address, Client identifier or SIM SID.
ParentCallSid(query) — Only include calls spawned by calls with this SID.
Status(query) — The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
StartTime(query) — Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime =YYYY-MM-DD` to read calls that started on or after midnight of this date.
StartTime<(query) — Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime =YYYY-MM-DD` to read calls that started on or after midnight of this date.
StartTime>(query) — Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime =YYYY-MM-DD` to read calls that started on or after midnight of this date.
EndTime(query) — Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime =YYYY-MM-DD` to read calls that ended on or after midnight of this date.
EndTime<(query) — Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime =YYYY-MM-DD` to read calls that ended on or after midnight of this date.
EndTime>(query) — Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime =YYYY-MM-DD` to read calls that ended on or after midnight of this date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/2010-04-01/Accounts/{AccountSid}/Calls.json
Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resources to read.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the Call Notification resources to read.
Log(query) — Only read notifications of the specified log level. Can be: `0` to read only ERROR notifications or `1` to read only WARNING notifications. By default, all notifications are read.
MessageDate(query) — Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as ` =YYYY-MM-DD` for messages logged at or after midnight on a date.
MessageDate<(query) — Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as ` =YYYY-MM-DD` for messages logged at or after midnight on a date.
MessageDate>(query) — Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as ` =YYYY-MM-DD` for messages logged at or after midnight on a date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resource to fetch.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the Call Notification resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Call Notification resource to fetch.
create an instance of payments. This will start a new payments session
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
CallSid(path, required) — The SID of the call that will create the resource. Call leg associated with this sid is expected to provide payment information thru DTMF.
update an instance of payments with different phases of payment flows.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will update the resource.
CallSid(path, required) — The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource.
Sid(path, required) — The SID of Payments session that needs to be updated.
Retrieve a list of recordings belonging to the call used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to read.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read.
DateCreated(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated =YYYY-MM-DD` returns recordings generated at or after midnight on a date.
DateCreated<(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated =YYYY-MM-DD` returns recordings generated at or after midnight on a date.
DateCreated>(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated =YYYY-MM-DD` returns recordings generated at or after midnight on a date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to update.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resource to update.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Recording resource to update.
Subscribe to User Defined Messages for a given Call SID.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages.
CallSid(path, required) — The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages.
Delete a specific User Defined Message Subscription.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages.
CallSid(path, required) — The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages.
Sid(path, required) — The SID that uniquely identifies this User Defined Message Subscription.
Retrieve a list of conferences belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference resource(s) to read.
DateCreated(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use ` =YYYY-MM-DD`.
DateCreated<(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use ` =YYYY-MM-DD`.
DateCreated>(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use ` =YYYY-MM-DD`.
DateUpdated(query) — The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use ` =YYYY-MM-DD`.
DateUpdated<(query) — The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use ` =YYYY-MM-DD`.
DateUpdated>(query) — The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use ` =YYYY-MM-DD`.
FriendlyName(query) — The string that identifies the Conference resources to read.
Status(query) — The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to delete.
ConferenceSid(path, required) — The SID of the conference with the participants to delete.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID or label of the participant to delete. Non URL safe characters in a label must be percent encoded, for example, a space character is represented as %20.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resource to fetch.
ConferenceSid(path, required) — The SID of the conference with the participant to fetch.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID or label of the participant to fetch. Non URL safe characters in a label must be percent encoded, for example, a space character is represented as %20.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to update.
ConferenceSid(path, required) — The SID of the conference with the participant to update.
CallSid(path, required) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID or label of the participant to update. Non URL safe characters in a label must be percent encoded, for example, a space character is represented as %20.
Retrieve a list of recordings belonging to the call used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resources to read.
ConferenceSid(path, required) — The Conference SID that identifies the conference associated with the recording to read.
DateCreated(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated =YYYY-MM-DD` returns recordings generated at or after midnight on a date.
DateCreated<(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated =YYYY-MM-DD` returns recordings generated at or after midnight on a date.
DateCreated>(query) — The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated =YYYY-MM-DD` returns recordings generated at or after midnight on a date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resources to delete.
ConferenceSid(path, required) — The Conference SID that identifies the conference associated with the recording to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Conference Recording resource to delete.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource to fetch.
ConferenceSid(path, required) — The Conference SID that identifies the conference associated with the recording to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Conference Recording resource to fetch.
Changes the status of the recording to paused, stopped, or in-progress. Note: To use `Twilio.CURRENT`, pass it as recording sid.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource to update.
ConferenceSid(path, required) — The Conference SID that identifies the conference associated with the recording to update.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Conference Recording resource to update. Use `Twilio.CURRENT` to reference the current active recording.
Retrieve a list of incoming-phone-numbers belonging to the account used to make the request.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resources to read.
Beta(query) — Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
FriendlyName(query) — A string that identifies the IncomingPhoneNumber resources to read.
PhoneNumber(query) — The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
Origin(query) — Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
Beta(query) — Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
FriendlyName(query) — A string that identifies the resources to read.
PhoneNumber(query) — The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
Origin(query) — Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
Beta(query) — Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
FriendlyName(query) — A string that identifies the resources to read.
PhoneNumber(query) — The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
Origin(query) — Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
Beta(query) — Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
FriendlyName(query) — A string that identifies the resources to read.
PhoneNumber(query) — The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
Origin(query) — Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Delete a phone-numbers belonging to the account used to make the request.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resources to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the IncomingPhoneNumber resource to delete.
Fetch an incoming-phone-number belonging to the account used to make the request.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the IncomingPhoneNumber resource to fetch.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to update. For more information, see [Exchanging Numbers Between Subaccounts](https://www.twilio.com/docs/iam/api/subaccounts#exchanging-numbers).
Sid(path, required) — The Twilio-provided string that uniquely identifies the IncomingPhoneNumber resource to update.
GET
/2010-04-01/Accounts/{AccountSid}/Keys.json
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/2010-04-01/Accounts/{AccountSid}/Keys.json
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will be responsible for the new Key resource.
DELETE
/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resources to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Key resource to delete.
GET
/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Key resource to fetch.
GET
/2010-04-01/Accounts/{AccountSid}/Messages.json
Retrieve a list of messages belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to read.
To(query) — Read messages sent to only this phone number.
From(query) — Read messages sent from only this phone number or alphanumeric sender ID.
DateSent(query) — The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent =YYYY-MM-DD` to read messages sent on or after midnight on a date.
DateSent<(query) — The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent =YYYY-MM-DD` to read messages sent on or after midnight on a date.
DateSent>(query) — The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent =YYYY-MM-DD` to read messages sent on or after midnight on a date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/2010-04-01/Accounts/{AccountSid}/Messages.json
Send a message from the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
Retrieve a list of Media resources belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to read.
MessageSid(path, required) — The SID of the Message resource that this Media resource belongs to.
DateCreated(query) — Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime =YYYY-MM-DD` to read media that was created on or after midnight of this date.
DateCreated<(query) — Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime =YYYY-MM-DD` to read media that was created on or after midnight of this date.
DateCreated>(query) — Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime =YYYY-MM-DD` to read media that was created on or after midnight of this date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Retrieve a list of notifications belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Notification resources to read.
Log(query) — Only read notifications of the specified log level. Can be: `0` to read only ERROR notifications or `1` to read only WARNING notifications. By default, all notifications are read.
MessageDate(query) — Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as ` =YYYY-MM-DD` for messages logged at or after midnight on a date.
MessageDate<(query) — Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as ` =YYYY-MM-DD` for messages logged at or after midnight on a date.
MessageDate>(query) — Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as ` =YYYY-MM-DD` for messages logged at or after midnight on a date.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Retrieve a list of outgoing-caller-ids belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to read.
PhoneNumber(query) — The phone number of the OutgoingCallerId resources to read.
FriendlyName(query) — The string that identifies the OutgoingCallerId resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to delete.
Fetch an outgoing-caller-id belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to fetch.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to update.
Sid(path, required) — The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to update.
GET
/2010-04-01/Accounts/{AccountSid}/Queues.json
Retrieve a list of queues belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/2010-04-01/Accounts/{AccountSid}/Queues.json
Create a queue
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to update.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Queue resource to update
GET
/2010-04-01/Accounts/{AccountSid}/Recordings.json
Retrieve a list of recordings belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to read.
DateCreated(query) — Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated =YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
DateCreated<(query) — Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated =YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
DateCreated>(query) — Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated =YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
CallSid(query) — The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read.
ConferenceSid(query) — The Conference SID that identifies the conference associated with the recording to read.
IncludeSoftDeleted(query) — A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Retrieve a list of results belonging to the recording
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resources to read.
ReferenceSid(path, required) — The SID of the recording to which the result to read belongs.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Retrieve a list of payloads belonging to the AddOnResult
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resources to read.
ReferenceSid(path, required) — The SID of the recording to which the AddOnResult resource that contains the payloads to read belongs.
AddOnResultSid(path, required) — The SID of the AddOnResult to which the payloads to read belongs.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Delete a payload from the result along with all associated Data
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resources to delete.
ReferenceSid(path, required) — The SID of the recording to which the AddOnResult resource that contains the payloads to delete belongs.
AddOnResultSid(path, required) — The SID of the AddOnResult to which the payloads to delete belongs.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Recording AddOnResult Payload resource to delete.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resource to fetch.
ReferenceSid(path, required) — The SID of the recording to which the AddOnResult resource that contains the payload to fetch belongs.
AddOnResultSid(path, required) — The SID of the AddOnResult to which the payload to fetch belongs.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Recording AddOnResult Payload resource to fetch.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resources to delete.
ReferenceSid(path, required) — The SID of the recording to which the result to delete belongs.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Recording AddOnResult resource to delete.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resource to fetch.
ReferenceSid(path, required) — The SID of the recording to which the result to fetch belongs.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Recording AddOnResult resource to fetch.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Recording resource to fetch.
IncludeSoftDeleted(query) — A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days.
Retrieve a list of credential list mappings belonging to the domain used in the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to read.
DomainSid(path, required) — The SID of the SIP domain that contains the resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Delete a credential list mapping from the requested domain
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to delete.
DomainSid(path, required) — The SID of the SIP domain that contains the resource to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the CredentialListMapping resource to delete.
Fetch a specific instance of a credential list mapping
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource to fetch.
DomainSid(path, required) — The SID of the SIP domain that contains the resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the CredentialListMapping resource to fetch.
Retrieve a list of IP Access Control List mappings belonging to the domain used in the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resources to read.
DomainSid(path, required) — The SID of the SIP domain that contains the resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Delete an IP Access Control List mapping from the requested domain
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resources to delete.
DomainSid(path, required) — The SID of the SIP domain that contains the resources to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the IpAccessControlListMapping resource to delete.
Fetch a specific instance of an IP Access Control List mapping
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resource to fetch.
DomainSid(path, required) — The SID of the SIP domain that contains the resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the IpAccessControlListMapping resource to fetch.
Retrieve a list of credential list mappings belonging to the domain used in the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to read.
DomainSid(path, required) — The SID of the SIP domain that contains the resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Delete a credential list mapping from the requested domain
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to delete.
DomainSid(path, required) — The SID of the SIP domain that contains the resources to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the CredentialListMapping resource to delete.
Fetch a specific instance of a credential list mapping
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource to fetch.
DomainSid(path, required) — The SID of the SIP domain that contains the resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the CredentialListMapping resource to fetch.
Retrieve a list of usage-records belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
Category(query) — The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDate(query) — Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
EndDate(query) — Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
IncludeSubaccounts(query) — Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
Retrieve a list of usage-triggers belonging to the account used to make the request
AccountSid(path, required) — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to read.
Recurring(query) — The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers.
TriggerBy(query) — The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
UsageCategory(query) — The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.