Search for available phone numbers that match your criteria.
Search for Local AvailablePhoneNumbers.
Permissions
The API token must include the following scopes: Numbers.
Path parameters
The Project ID that uniquely identifies the Account to retrieve.
The ISO country code of the number.
Query parameters
Find numbers in the provided area code. Only available for numbers in US and Canada.
New numbers on SignalWire are marked as beta.
Find numbers based off of a pattern. Valid characters are [0-9a-zA-Z].
Whether or not to exclude numbers that require an address anywhere in the world.
Whether or not to exclude numbers that require a foreign address.
Whether or not to exclude numbers that require a local address.
Whether or not a number can receive faxes.
Limits search to a city/locality. Requires InRegion to also be set.
Limits search to same region as number. Must be a two-letter state/province code.
Whether or not a number can receive MMS messages.
Whether or not a number can receive SMS messages.
Whether or not a number can receive calls.
Response
The request has succeeded.
Example response
{
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/Local",
"available_phone_numbers": [
{
"friendly_name": "(253) 218-6751",
"phone_number": "+12532186751",
"rate_center": "AUBURN",
"region": "WA",
"iso_country": "US",
"capabilities": {
"voice": true,
"SMS": true,
"MMS": true
}
}
]
}