Skip to main content
PUT
/
config
/
telephony
/
exotel
Set or update Exotel credentials
curl --request PUT \
  --url https://api.vocobase.com/api/v2/config/telephony/exotel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_sid": "acme",
  "api_key": "your_api_key",
  "api_token": "your_api_token",
  "subdomain": "api.exotel.com",
  "caller_id": "+919876543210",
  "applet_id": "12345"
}
'
{
  "success": true,
  "data": {
    "account_sid": "conf****ured",
    "subdomain": "api.exotel.com",
    "caller_id": "+919876543210",
    "applet_id": "12345",
    "message": "Exotel credentials updated successfully."
  }
}

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Body

application/json
account_sid
string
required

Exotel Account SID (SID of your Exotel account).

Example:

"acme"

api_key
string
required

Exotel API key.

Example:

"your_api_key"

api_token
string
required

Exotel API token.

Example:

"your_api_token"

subdomain
string
required

Exotel API subdomain (region). Typical values: api.exotel.com, api.in.exotel.com.

Example:

"api.exotel.com"

caller_id
string
required

Exotel-provisioned phone number used as the caller ID, in E.164 format.

Example:

"+919876543210"

applet_id
string
required

Exotel Applet (flow) ID used to handle the call.

Example:

"12345"

Response

Exotel credentials updated.

success
boolean
data
object