Key Features
- List all phone numbers owned by your account with pagination support
- Browse available phone numbers in inventory
- Purchase numbers from inventory and assign to your account
- Release numbers back to inventory when no longer needed
- Master accounts (MA_) can include numbers from sub-accounts
- View detailed number information including capabilities, pricing, and status
Base URL
Base URL
Authentication
All Phone Number API endpoints require authentication viaX-Auth-ID and X-Auth-Token headers.
Required Headers:
X-Auth-ID- Your Auth ID (e.g.,{auth_id})X-Auth-Token- Your account Auth TokenContent-Type: application/json
Available Operations
- The PhoneNumber Object - View the complete structure and attributes of a PhoneNumber object including number details, capabilities, billing information, and provider settings.
- List Account Phone Numbers - GET request to retrieve all phone numbers owned by your account with pagination support. Master accounts can include numbers from sub-accounts.
- List Inventory Numbers - GET request to browse available phone numbers in inventory (not assigned to any account) that are available for purchase.
- Purchase from Inventory - POST request to purchase a number from inventory and assign it to your account. Debits balance for setup and monthly fees.
- Unrent a Number - DELETE request to release a phone number back to inventory. The number will be unassigned from your account and trunk group.
- Assign DID to Sub-Account - POST request to assign a parent-pool DID to one of your sub-accounts.
- Unassign DID from Sub-Account - DELETE request to move a DID back to the parent pool, subject to a 15-day cool-off.
DID 15-day cool-off
When you move a DID back to the parent pool from a sub-account, a 15-day cool-off prevents a recently active number from being reassigned to another customer too quickly:- If the DID had a call within the last 15 days, unassignment is rejected with
409 did_cool_off_in_effect(the response includescool_off_untilandcool_off_remaining_seconds). - A DID that was never used moves back immediately.
- Admins can override the cool-off with
?force=true(writes an audit record).