Skip to main content

Voice v1 API

Voice v1 APIs work without any user (call centre agent) context — they don't need a user to be added to the Exotel dashboard. Use these APIs for simple call automation, number-to-number connection, and IVR flows.

Base URL

https://<api_key>:<api_token>@<subdomain>/v1/Accounts/<account_sid>/
Data CenterSubdomain
Singaporeapi.exotel.com
Mumbaiapi.in.exotel.com

Authentication

HTTP Basic Authentication using your API key and token from the Exotel DashboardSettings → API Settings.

curl 'https://<api_key>:<api_token>@api.exotel.com/v1/Accounts/<your_sid>/Calls.json'

Rate Limits

Voice APIs are limited to 200 calls per minute. Exceeding this returns HTTP 429.

API Reference

APIMethodEndpointDescription
Connect Two NumbersPOST/v1/Accounts/{sid}/Calls/connectConnect two phone numbers
Connect to FlowPOST/v1/Accounts/{sid}/Calls/connectConnect a number to an IVR flow
Outgoing Call to FlowPOST/v1/Accounts/{sid}/Calls/connectOutgoing call connected to a call flow
Call DetailsGET/v1/Accounts/{sid}/Calls/{CallSid}Get call details (single & bulk)
Number MetadataGET/v1/Accounts/{sid}/Numbers/{number}Get telecom info for Indian numbers
Incoming CallConfigure incoming call flows with applets
StatusCallbackWebhook reference for call events

Applets (Call Flow Building Blocks)

Applets are modular components used to build call flows for incoming calls:

AppletPurpose
GreetingPlay a recorded voice message or text-to-speech
ConnectRoute calls to phone numbers
PassthruDynamic routing via your application URL
TransferTransfer between call flows
IVR MenuInteractive voice menu with DTMF input
VoicemailAllow callers to leave messages
HangupTerminate the call
SMSSend SMS during a call flow
EmailSend email notifications

Call Status Values

StatusDescription
queuedWaiting to be sent to operator
in-progressCall is active
completedEnded normally
failedCould not be completed
busyBusy signal received
no-answerNot answered within timeout

HTTP Status Codes

CodeMeaning
200Success
400Bad Request — Invalid parameters
401Unauthorized
429Rate limit exceeded