MCP is live.Set upAsk the community
OmniDimension
Phone numbers

Import Exotel number

Import an Exotel number by providing your Exotel credentials.

POST/phone_number/import/exotel
Body
8 fields
·

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).

Exotel phone number in E.164 format.

Your Exotel API key.

Your Exotel API token.

Your Exotel subdomain (e.g. your-account.in.exotel.com).

Your Exotel account SID.

The Exotel App ID configured for the bot.

Optional friendly name for the imported number.

curl -X POST 'https://omnidim.io/api/v1/phone_number/import/exotel' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": 1234,
  "exotel_phone_number": "+919876543210"
}'
Example response
{
  "success": true,
  "message": "Number added successfully",
  "id": 3360
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Request Body

application/json
user_id?ClientUserId

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.

exotel_phone_number*string

Exotel phone number in E.164 format.

exotel_api_key*string

Your Exotel API key.

exotel_api_token*string

Your Exotel API token.

exotel_subdomain*string

Your Exotel subdomain (e.g. your-account.in.exotel.com).

exotel_account_sid*string

Your Exotel account SID.

exotel_app_id*string

The Exotel App ID configured for the bot.

name?string

Optional friendly name for the imported number.

Response body

application/json

Response Body

Exotel number imported.

application/json
success?boolean
message?string
id?integer

ID of the newly imported phone number record. Use this with /phone_number/attach.

Was this page helpful?