Retrieve details of a specific phone number
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
E.164 format of the number (+country code, then number with no space, no special characters), used as the unique identifier for phone number APIs.
"+14157774444"
Successfully retrieved a phone number.
E.164 format of the number (+country code, then number with no space, no special characters), used as the unique identifier for phone number APIs.
"+14157774444"
Type of the phone number.
retell-twilio, retell-telnyx, custom "retell-twilio"
Last modification timestamp (milliseconds since epoch). Either the time of last update or creation if no updates available.
1703413636133
Pretty printed phone number, provided for your reference.
"+1 (415) 777-4444"
Unique id of agent to bind to the number. The number will automatically use the agent when receiving inbound calls. If null, this number would not accept inbound call.
"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
Unique id of agent to bind to the number. The number will automatically use the agent when conducting outbound calls. If null, this number would not be able to initiate outbound call without agent id override.
"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
Version of the inbound agent to bind to the number. If not provided, will default to latest version.
1
Version of the outbound agent to bind to the number. If not provided, will default to latest version.
1
List of ISO 3166-1 alpha-2 country codes from which inbound calls are allowed. If not set or empty, calls from all countries are allowed.
["US", "CA", "GB"]List of ISO 3166-1 alpha-2 country codes to which outbound calls are allowed. If not set or empty, calls to all countries are allowed.
["US", "CA"]Area code of the number to obtain. Format is a 3 digit integer. Currently only supports US area code.
415
Inbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to inbound_agent_id.
Outbound agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound call, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to outbound_agent_id.
Inbound SMS agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each inbound SMS, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to inbound_sms_agent_id.
Outbound SMS agents to bind to the number with weights. If set and non-empty, one agent will be picked randomly for each outbound SMS, with probability proportional to the weight. Total weights must add up to 1. If not set or empty, fallback to outbound_sms_agent_id.
Nickname of the number. This is for your reference only.
"Frontdesk Number"
If set, will send a webhook for inbound calls, where you can to override agent id, set dynamic variables and other fields specific to that call.
"https://example.com/inbound-webhook"
If set, will send a webhook for inbound SMS, where you can override agent id, set dynamic variables and other fields specific to that chat.
"https://example.com/inbound-sms-webhook"
Enterprise only. Phone number to transfer inbound calls to when organization is in outage mode. Can be either a Retell phone number or an external number. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding).
"+14155551234"