GET/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers.json

List countries with available phone numbers

Lists the countries for which phone numbers are available to an account. Use the returned country codes to retrieve country details or browse available numbers for a specific country.

4 parameters
AccountSidstringrequired
The SID of the account requesting the available phone number countries. Must be `AC` followed by 32 hexadecimal characters.
PageSizeintegeroptional
Number of resources to return per page, from 1 to 1000. Defaults to 50 when omitted.
Pageintegeroptional
Page index used to track pagination state. Must be zero or greater.
PageTokenstringoptional
Page token provided by the API to retrieve a particular page.

1 status code
200Returns a response containing available phone number countries, including each country's code, name, resource URI, beta status, and related resource URIs.
countriesarray<object>optional
uristringoptional

Error handling

The AccountSid path parameter must match the account SID format: AC followed by 32 hexadecimal characters. PageSize must be between 1 and 1000, and Page must be zero or greater. Use Page, PageSize, and PageToken to paginate the results.