Find toll-free numbers
Searches SignalWire inventory for toll-free phone numbers available in one ISO country. Results are candidates, not project resources, until purchased through Incoming Phone Numbers or the native purchase operation. Use the local search for local inventory, or native Search phone numbers for the JSON API.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Learn more about API scopes.
Path parameters
Universal Unique Identifier.
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].
Accepted but has no effect on the response.
Accepted but has no effect on the response.
Accepted but has no effect on the response.
Accepted but not supported; has no effect on the response.
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.
Accepted but not supported; has no effect on the response.
Accepted but not supported; has no effect on the response.
Accepted but not supported; has no effect on the response.
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
}
}
]
}Changes
Changed in 5 of the 40 revisions of this API.16539
- ○
added 'unevaluatedProperties' constraint to the response body for the status
200response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
400response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
401response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
422response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the
available_phone_numbers/items/response property for the status200response-property-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the
available_phone_numbers/items/capabilities/allOf[PhoneNumberCapabilities]/response property for the status200response-property-unevaluated-properties-added
- ○
- ▲
response property
available_phone_numbers/items/latalist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
available_phone_numbers/items/latitudelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
available_phone_numbers/items/localitylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
available_phone_numbers/items/longitudelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
available_phone_numbers/items/postal_codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
available_phone_numbers/items/rate_centerlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
available_phone_numbers/items/regionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
- ▲
the response property
available_phone_numbers/items/latabecame nullable for the status200response-property-became-nullable
- ▲
the response property
available_phone_numbers/items/latitudebecame nullable for the status200response-property-became-nullable
- ▲
the response property
available_phone_numbers/items/longitudebecame nullable for the status200response-property-became-nullable
- ▲
the response property
available_phone_numbers/items/postal_codebecame nullable for the status200response-property-became-nullable
- ▲
the response property
available_phone_numbers/items/rate_centerbecame nullable for the status200response-property-became-nullable
- ▲
the response property
available_phone_numbers/items/regionbecame nullable for the status200response-property-became-nullable
- ●
removed the optional property
available_phone_numbers/items/capabilities/allOf[PhoneNumberCapabilities]/faxfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parameterInLocalitynew-optional-request-parameter
- ○
the response property
available_phone_numbersbecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/betabecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/capabilitiesbecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/capabilities/allOf[PhoneNumberCapabilities]/MMSbecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/capabilities/allOf[PhoneNumberCapabilities]/SMSbecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/capabilities/allOf[PhoneNumberCapabilities]/voicebecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/friendly_namebecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/iso_countrybecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/latabecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/latitudebecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/longitudebecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/phone_numberbecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/postal_codebecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/rate_centerbecame required for the status200response-property-became-required
- ○
the response property
available_phone_numbers/items/regionbecame required for the status200response-property-became-required
- ○
the response property
uribecame required for the status200response-property-became-required
- ○
added the required property
available_phone_numbers/items/localityto the response with the200statusresponse-required-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new path request parameter
AccountSidnew-request-path-parameter
- ▲
added the new path request parameter
IsoCountrynew-request-path-parameter
- ▲
the
available_phone_numbers/items/capabilitiesresponse's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
available_phone_numbers/items/capabilities/MMSfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
available_phone_numbers/items/capabilities/SMSfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
available_phone_numbers/items/capabilities/faxfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
available_phone_numbers/items/capabilities/voicefrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parameterAreaCodenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterBetanew-optional-request-parameter
- ○
added the new optional
queryrequest parameterContainsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterExcludeAllAddressRequirednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterExcludeForeignAddressRequirednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterExcludeLocalAddressRequirednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterFaxEnablednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterInRegionnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterMmsEnablednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterSmsEnablednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterVoiceEnablednew-optional-request-parameter
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added
PhoneNumberCapabilitiesto theavailable_phone_numbers/items/capabilitiesresponse propertyallOflist for the response status200response-property-all-of-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲