Find toll-free numbers.
GET/Accounts/:AccountSid/AvailablePhoneNumbers/:IsoCountry/TollFree
Search for toll-free 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.
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.
The ISO country code of the number.
The LATA of the number. Only available for numbers in US and Canada.
The latitude of the number. Only available for numbers in US and Canada.
The longitude of the number. Only available for numbers in US and Canada.
The number in E.164 format.
The postal/zip code of the number. Only available for numbers in US and Canada.
The rate center of the number. Only available for numbers in US and Canada.
The state or province abbreviation of the number. Only available for numbers in US and Canada.
{
"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"
}
]
}