Fetch available phone number country
Country codes with available phone numbers
Path parameters
-
The SID of the Account requesting the available phone number Country resource.
-
The ISO-3166-1 country code of the country to fetch available phone number information about.
GET /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json
curl \
-X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json \
--user "username:password"
Response examples (200)
{
"beta": true,
"country": "string",
"country_code": "string",
"subresource_uris": {},
"uri": "https://example.com"
}
Response examples (200)
{
"beta": true,
"country": "string",
"country_code": "string",
"subresource_uris": {},
"uri": "https://example.com"
}