Skip to main content
GET
Get Telephony Numbers

Get Telephony Numbers

Retrieve a list of telephony numbers. Behavior depends on the Org-Handle header:
  • With Org-Handle — returns your organization’s own numbers (any state) plus the shared unassigned pool (NOT_ASSIGNED).
  • Without Org-Handle — returns only the shared unassigned pool.
Prerequisites: Make sure you have your API Token ready. See Authentication for details.

Headers

You can get the Org-Handle by hitting the Get All Organizations API. The domain_handle field in the response is your Org-Handle.

Response Fields

Number Object Fields

Common Error Codes

Code Examples

Best Practices

  1. Org Scoping: Pass Org-Handle to see your org’s numbers; omit it to see only pool numbers
  2. Number Assignment: Use a number’s id when attaching it to a trunk
  3. State Awareness: Check state to know if a number is NOT_ASSIGNED (available) or ASSIGNED (in use)
  4. E.164 Format: All numbers are returned in E.164 format — use this format consistently in all API calls
  5. Security: Keep API tokens secure and rotate them regularly

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string

Organization domain handle. Omit to list pool numbers only.

Response

List of telephony numbers