v4
OpenAPI 3.1.02026-07-313621,3961.8 MBAgents 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