GET
/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers.jsonList available phone number countries
Lists the countries for which the account can request available phone numbers. Use the pagination parameters to retrieve additional country resources when the result set spans multiple pages.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
AccountSidstringrequired
The 34-character SID of the account requesting available phone number country resources. Must match the `AC` account SID format.
PageSizeintegeroptional
Number of country resources to return per page. Must be between 1 and 1000, and defaults to 50 when omitted.
Pageintegeroptional
Page index used for client state. Must be zero or greater when supplied.
PageTokenstringoptional
API-provided token used to retrieve a subsequent page of country resources.
200Returns a collection of available phone number country resources, including each country's code, name, resource URI, beta status, and related resource URIs.
countriesarray<object>optional
uristringoptional
Error handling
AccountSid must be a 34-character SID matching the AC account pattern. PageSize must be between 1 and 1000 and Page must be zero or greater when supplied; use the API-provided PageToken for subsequent pages.