Import Phone Number
Import a phone number from custom telephony & Bind agents
Authorizations
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Body
The number you are trying to import in 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.
The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with ".pstn.twilio.com".
The username used for authentication for the SIP trunk.
The password used for authentication for the SIP trunk.
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.
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.
Nickname of the number. This is for your reference only.
Response
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.
Last modification timestamp (milliseconds since epoch). Either the time of last update or creation if no updates available.
Pretty printed phone number, provided for your reference.
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.
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.
Area code of the number to obtain. Format is a 3 digit integer. Currently only supports US area code.
Nickname of the number. This is for your reference only.
Was this page helpful?