Skip to main content
POST
/
api
/
webhook
/
calls
/
twilio
Handle Twilio voice call webhook (legacy)
curl --request POST \
  --url https://your-instance.example.com/api/webhook/calls/twilio \
  --header 'Content-Type: application/json' \
  --data '
{
  "CallSid": "CA5f7b1c2e8a1d4e0012c3b4a5",
  "CallStatus": "completed",
  "From": "+14165550100",
  "To": "+12362320246",
  "Direction": "inbound"
}
'
"OK"

Body

application/json
CallSid
string

Twilio-assigned call identifier (CA…).

CallStatus
string

Twilio call state, e.g. ringing, in-progress, completed, busy, no-answer, failed.

From
string

Calling party phone number in E.164.

To
string

Called party phone number in E.164.

Direction
string

Call direction reported by Twilio: inbound, outbound-api, outbound-dial.

Response

Plain-text acknowledgement. New integrations should use the typed inbound/outbound/status/recording/amd routes instead.

The response is of type string.

Example:

"OK"