Skip to main content
GET
Get Telephony Numbers
Returns the unassigned (NOT_ASSIGNED) numbers you can use: the shared pool plus, with Org-Handle, your organization’s own. To also get your organization’s assigned numbers, send Org-Handle and add the query parameter include_assigned=true. Another organization’s assigned numbers are never returned. Use a number’s id when attaching it to a trunk.
Prerequisites: API Token. See Authentication.

Headers

Query parameters

Number object fields

Errors

cURL

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string

Organization domain handle. Omit to list pool numbers only.

Query Parameters

include_assigned
boolean
default:false

Set true (with Org-Handle) to also return the org's own ASSIGNED numbers. Without it, only NOT_ASSIGNED numbers are listed.

type
enum<string>

Set to agent to return only agent numbers. Omit for all numbers.

Available options:
agent
region
string

Only numbers in this region, e.g. IN or US.

Example:

"IN"

Response

List of telephony numbers (default, without include_assigned)