Skip to main content

Exotel Setup

Connect your Exotel account to make outbound calls through the Vocobase platform. Exotel is popular in India and supports local and toll-free numbers.
Exotel telephony must be enabled for your account by the Vocobase team before you can configure it. Check your allowed_telephony_providers in the config endpoint to verify.

Prerequisites

  • A Vocobase account with active account status
  • Exotel enabled in your allowed_telephony_providers
  • An Exotel account with:
    • Account SID
    • API Key and API Token
    • A configured Voicebot applet
    • At least one caller ID (phone number)

Get your Exotel credentials

  1. Log in to the Exotel Dashboard
  2. Navigate to Settings > API Settings
  3. Note your Account SID, API Key, and API Token
  4. Note your Subdomain (e.g., api.exotel.com or your custom subdomain)
  5. Navigate to Phone Numbers and note your Caller ID (the number calls will originate from)
  6. Navigate to App Bazaar > Voicebot and note your Applet ID

Configure via API

This endpoint updates your default Exotel connection. To create multiple named Exotel connections, use POST /api/v2/telephony/connections and store the returned connection_id.
Credentials are encrypted at rest and never returned in API responses. Store them securely — you’ll need them again if you update the configuration.
To rotate credentials later, send the same request again with the new values. Every field is required on each call — the endpoint replaces the stored credential set rather than patching it.

Confirm it is configured

GET /api/v2/config reports Exotel under allowed_telephony_providers and shows telephony.exotel.configured: true once your credentials are saved. See Check provider access.

Make a test call

Start an outbound call with "provider": "exotel".
If your account has more than one active Exotel connection, also pass connection_id — omitting it returns CONNECTION_AMBIGUOUS. See Bring Your Own Phone for the full request and response shape.

How Exotel calls work

  1. Vocobase calls the Exotel Connect API to initiate the call
  2. Exotel dials the customer using your caller ID
  3. When the customer answers, Exotel triggers your configured Voicebot applet
  4. The applet connects to the Vocobase voice agent via WebSocket
  5. The agent handles the conversation in real time
  6. When the call ends, a webhook fires with the transcript and duration

Troubleshooting

Next steps

Telephony Connections

Create and manage multiple named connections.

Twilio Setup

Configure Twilio as an alternative provider.

Credits & Billing

Understand how calls consume credits.