Available Phone Numbers

List of AvailablePhoneNumber resources

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

Permissions

The API token must include the following scopes: Numbers.

get/Accounts/{AccountSid}/AvailablePhoneNumbers

Path parameters

AccountSidstring uuid required

The Project ID that uniquely identifies the Account to retrieve.

Response

The request has succeeded.

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": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local.json",
    "toll_free": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/TollFree.json"
  }
}

Changes