Available Phone Numbers

List of AvailablePhoneNumber resources by country

Returns a list of URIs to phone number resources available to the account in the US ISO country, categorized by type (Local, Toll-Free, Mobile, etc).

Permissions

The API token must include the following scopes: Numbers.

get/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountry}

Response

OK

uristring

The URI for the API call.

betaboolean

New numbers on SignalWire are marked as beta. Possible values are true or false.

countrystring

The country the number is from.

country_codestring

The ISO country code of the number.

Example response

{
  "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local",
  "country": "United States",
  "country_code": "US",
  "subresource_uris": {
    "local": "/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local",
    "toll_free": "/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local"
  }
}

Changes