Search for available phone numbers that match your criteria.
GET/Accounts/:AccountSid/AvailablePhoneNumbers/:IsoCountry/Local
Search for Local AvailablePhoneNumbers.
Permissions
The API token must include the following scopes: Numbers.
Request
Path Parameters
The Project ID that uniquely identifies the Account to retrieve.
The ISO country code of the number.
Query Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The URI for the API call.
/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local
available_phone_numbers
object[]
New numbers on SignalWire are marked as beta
. Possible values are true
or false
.
capabilities
object
Whether or not a number can receive calls and messages. Possible values are voice
, SMS
, MMS
, and Fax
. Each of these values have a boolean value of true
or false
.
Whether or not voice is enabled on the number.
Whether or not SMS is enabled on the number.
Whether or not MMS is enabled on the number.
Whether or not fax is enabled on the number.
A formatted version of the number.
253-218-6751
The ISO country code of the number.
US
The LATA of the number. Only available for numbers in US and Canada.
null
The latitude of the number. Only available for numbers in US and Canada.
null
The longitude of the number. Only available for numbers in US and Canada.
null
The number in E.164 format.
+12532186751
The postal/zip code of the number. Only available for numbers in US and Canada.
null
The rate center of the number. Only available for numbers in US and Canada.
AUBURN
The state or province abbreviation of the number. Only available for numbers in US and Canada.
WA
{
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local",
"available_phone_numbers": [
{
"beta": true,
"capabilities": {
"voice": true,
"SMS": true,
"MMS": true,
"fax": true
},
"friendly_name": "253-218-6751",
"iso_country": "US",
"lata": null,
"latitude": null,
"longitude": null,
"phone_number": "+12532186751",
"postal_code": null,
"rate_center": "AUBURN",
"region": "WA"
}
]
}