Dialpad Number -- List Available

Searches the phone numbers that are available to assign, in the country of the user's office. Search by area code, city or the first digits of a number, and page through the results with the cursor. The search only reads: it does not reserve or lock the numbers it returns. The response always has items, cursor, overlaying_area_codes and search_extended_to_country; a property that does not apply is null (or false for search_extended_to_country), and items is an empty list when nothing matched. The search has these fallbacks:

  • A toll-free search with no matches returns any available toll-free numbers instead.
  • For a US search that has run out of results, the response lists overlaying_area_codes: other area codes that serve the same region, to search next.
  • When nothing matches an international search, set country_fallback to get numbers from the whole country instead; the response then has search_extended_to_country set to true.

Requires a user API key.

Rate limit: 1200 per minute.

Query Params
string

A token used to return the next page of a previous request. Use the cursor provided in the previous response. A malformed cursor, or one reused with a different query,
type, country_fallback or office country, is rejected with a 400. The position inside the cursor is not validated, so an edited cursor is not guaranteed to be rejected; it can only move within a search you may already run. The limit can change between pages.

string

An area code (for example 415), a city name, or the first digits of a number. Leave empty to list numbers without a filter.

int64
Defaults to 10

The maximum number of results to return, from 1 to 100. Defaults to 10.

string
enum
Defaults to local

The type of number to search: local (the default) or tollfree.

Allowed:
boolean
Defaults to false

Whether an empty international search falls back to the whole country. Defaults to false.

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json