Skip to main content

Find All Toll-Free Numbers

Use this endpoint for the AvailablePhoneNumbers method to find available toll-free numbers in the United States.

Parameters

Parameter
None

Examples

Request

curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountry}/TollFree.json \
-X GET \
-u "YourProjectID:YourAuthToken"

Response

200 OK

{
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers/US/TollFree",
"available_phone_numbers": [
{
"friendly_name": "310-218-6751",
"phone_number": "+13102186751",
"iso_country": "US",
"capabilities": {
"voice": true,
"SMS": true,
"MMS": true
},
"beta": false
},
{
"friendly_name": "310-218-6752",
"phone_number": "+13102186752",
"iso_country": "US",
"capabilities": {
"voice": true,
"SMS": true,
"MMS": true
},
"beta": false
}
]
}

Request: Find a Toll-Free Number by String

Find all toll-free numbers that contain WIN, or 946. Some examples of this include: 800-338-3946 or 888-946-3456.

curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountry}/TollFree.json \
-X GET \
-d "Contains=WIN"
-u "YourProjectID:YourAuthToken"