Agents Platform
Import Phone Number
Import Phone Number from provider configuration (Twilio, Exotel, or SIP trunk)
post/v1/convai/phone-numbers
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"account_sid": "your-account-sid",
"api_key": "your-api-key",
"api_subdomain": "api.in.exotel.com",
"api_token": "********",
"app_id": "12345",
"label": "Exotel Outbound",
"phone_number": "+919999999999",
"provider": "exotel"
}Response
Successful Response
Changes
Changed in 1 of the 49 revisions of this API.1
- ○
added the new optional request property
/new-optional-request-property
- ○