Get Telephony Numbers
Numbers
List Numbers
List the telephony numbers available to your organization
GET
Get Telephony Numbers
Returns the numbers available to you. 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.
id when attaching it to a trunk.
Prerequisites: API Token. See Authentication.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Token <your-api-key> |
| Org-Handle | string | No | Organization domain handle |
Number object fields
| Field | Type | Description |
|---|---|---|
| id | integer | Unique number id (use this in attach calls) |
| number | string | Phone number in E.164 format |
| state | string | NOT_ASSIGNED or ASSIGNED |
| active | boolean | Whether the number is usable |
cURL