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

Retrieve available phone number country details

Retrieves available phone number information for a specific country. Supply the account SID and an ISO 3166-1 country code to get the country name, beta status, and related available-number resources.

2 parameters
AccountSidstringrequired
The SID of the account requesting the available phone number country. Must be `AC` followed by 32 hexadecimal characters.
CountryCodestringrequired
The ISO 3166-1 country code for the country whose available phone number information to retrieve.

1 status code
200Returns the country code and name, beta status, resource URI, and URIs for related available phone number resources.
country_codestringoptional
The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country.
countrystringoptional
The name of the country.
uristringoptional
The URI of the Country resource, relative to `https://api.twilio.com`.
betabooleanoptional
Whether all phone numbers available in the country are new to the Twilio platform. `true` if they are and `false` if all numbers are not in the Twilio Phone Number Beta program.
subresource_urisobjectoptional
A list of related AvailablePhoneNumber resources identified by their URIs relative to `https://api.twilio.com`.

Error handling

The AccountSid path parameter must match the account SID format: AC followed by 32 hexadecimal characters. The CountryCode path parameter must be an ISO 3166-1 country code.