Telephony & Bridges
Get Telephony Numbers
Retrieve list of all telephony numbers
GET
Get Telephony Numbers
Get Telephony Numbers
Retrieve a list of telephony numbers. Behavior depends on theOrg-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
- Org Scoping: Pass
Org-Handleto see your org’s numbers; omit it to see only pool numbers - Number Assignment: Use a number’s
idwhen attaching it to a trunk - State Awareness: Check
stateto know if a number isNOT_ASSIGNED(available) orASSIGNED(in use) - E.164 Format: All numbers are returned in E.164 format — use this format consistently in all API calls
- Security: Keep API tokens secure and rotate them regularly
Get Telephony Numbers