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
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"