Phone Numbers
Get Phone Number
deprecated
Fetch the full record of a single phone number in your account, including capabilities, assigned agent, and rental status.
GET
Get a phone number by ID
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
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.
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
RSA-encrypted organization_id string (base64 format)
Path Parameters
Response
Phone number found.
When true, Speech IO uses SIP trunking (e.g. asterisk) for this number.
Get a phone number by ID