Skip to main content
GET
List and search numbers

Authorizations

Authorization
string
header
required

HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).

Query Parameters

limit
integer
default:20

Page size, 1 to 100. Values outside the range are clamped and the value used is echoed in pagination.limit. A value that is not a number is rejected with 400 VALIDATION.INVALID_PARAMETER.

Example:

20

cursor
string

Opaque cursor from the previous page's pagination.next. Pass it back unchanged, with the same filters. A cursor this API did not issue, or one sent with other filters, is rejected with 400 PAGINATION.INVALID_CURSOR.

country
string

1 to 20 comma-separated ISO 3166-1 alpha-2 country codes.

Example:

"US,CA"

numberType
enum<string>

One number type, as in numberType on the number object. A value from a call webhook's number_type works unchanged.

Available options:
fixed,
mobile,
toll_free,
premium_rate,
shared_cost,
voip,
personal_number,
pager,
uan,
emergency,
voicemail
Example:

"toll_free"

capability
string

1 to 4 of voice, sms, mms and whatsapp, comma-separated. A number must have all of them.

Example:

"voice,sms"

2 to 50 characters. Matches the internal name as a substring, or the number when the text has digits. Spaces, dashes and + are ignored for the digit match. Quotes, % and _ match literally.

Required string length: 2 - 50
Example:

"front"

Response

One page of numbers.

One page of numbers.

data
object[]
required
pagination
object
required
requestId
string
required

The request id: the X-Request-ID the gateway gives the request, else an id the service generates. Quote it when you contact support.