lc-phoneVersion: v3
List available phone numbers
GET/phone-system/numbers/location/{locationId}/available
Search Twilio inventory for purchasable phone numbers in a country for the given location.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
phonenumbers. readAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Path Parameters
locationIdstringrequired
Location ID as string
Example:
tDtDnQdgm2LXpyiqYvZ6Query Parameters
firstPartstringrequired
firstPart is the beginning of the phone number
Example:
830lastPartstringrequired
lastPart is the ending of the phone number
Example:
825anywherestringrequired
anywhere are the numbers required anywhere in phone number
Example:
825numberTypesstring[]required
comma separated types of phone number required
Example:
tollFree,mobile,localsmsEnabledbooleanrequired
requested phone numbers should have sms functionality
Example:
truemmsEnabledbooleanrequired
requested phone numbers should have mms functionality
Example:
truevoiceEnabledbooleanrequired
requested phone numbers should have voice functionality
Example:
truecountryCodestringrequired
country for which the phone numbers are being requested
Example:
USResponse
Available phone numbers matching the search criteria.