Phone Numbers
Get Phone Number
Fetch the full record of a single phone number in your account, including capabilities, assigned agent, and rental status.
GET
Get a phone number
Returns the full record for a single purchased phone number: the E.164
phone_number, the country_code, the type (local, toll-free, or mobile), the monthly rental cost, the supported capabilities (voice, SMS where available), the display nickname, the currently assigned inbound_agent_id, and the purchase timestamp.
When to use this
- Number management UIs: render the per-number detail view in a phone-number management page.
- Routing audits: verify which agent is currently handling inbound calls on a specific number before making changes.
- Cost attribution: pull
monthly_cost_usdto attribute telephony spend per workspace or per use case in internal reports. - Compliance reviews: confirm the number’s country and capabilities match the use case it is being used for.
Path parameters
| Parameter | Description |
|---|---|
id | The phone number ID, for example phn_f7w2kx5mb9qz. |
Errors
404 Not Foundis returned when the number does not exist on this workspace.403 Forbiddenis returned when the API key cannot read phone number records.
Request
Response
Related endpoints
- List Phone Numbers: see every number on the workspace.
- Update Phone Number: change the nickname or reassign the inbound agent.
- Release a Number: release a number back to the provider’s pool.
- Buy a Phone Number: purchase a new number.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Response
Success.
Example:
"phn_abc123"
Example:
"+912234567890"
Example:
"Main Support Line"
Example:
"agt_abc123"
Phone number provisioning status.
Available options:
pending, active Example:
"active"
Example:
"twilio"
Example:
"2024-03-01T10:00:00.000Z"
Human-readable nickname shown in dashboard selectors and phone number tables.
Maximum string length:
255Example:
"Sales Line"
Get a phone number