Skip to main content
POST
/
api
/
webhook
/
calls
/
twilio
/
inbound
Handle Twilio inbound PSTN call
curl --request POST \
  --url https://your-instance.example.com/api/webhook/calls/twilio/inbound \
  --header 'Content-Type: application/json' \
  --data '
{
  "To": "+12362320246",
  "From": "+14165550100",
  "CallSid": "CA5f7b1c2e8a1d4e0012c3b4a5",
  "CallStatus": "ringing"
}
'
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Dial answerOnBridge=\"true\" record=\"record-from-answer\" recordingStatusCallback=\"/api/webhook/calls/twilio/recording\" recordingStatusCallbackMethod=\"POST\"><Client statusCallback=\"/api/webhook/calls/twilio/status\" statusCallbackMethod=\"POST\" statusCallbackEvent=\"initiated,ringing,answered,completed\">client_64a1b2c3d4e5f60012345679</Client></Dial></Response>"

Body

application/json
To
string

Tether-provisioned Twilio number that was dialed; used to resolve the owning org/user.

From
string

Caller phone number in E.164.

CallSid
string

Twilio-assigned call identifier (CA…) for the inbound leg.

CallStatus
string

Twilio call state at webhook time, typically ringing for the inbound trigger.

Response

TwiML response. Dials the agent's browser client (or, when AI calling is enabled, the configured ElevenLabs agent number).

The response is of type string.