Skip to main content
POST
/
api
/
webhook
/
calls
/
twilio
/
outbound
Handle Twilio outbound browser call
curl --request POST \
  --url https://your-instance.example.com/api/webhook/calls/twilio/outbound \
  --header 'Content-Type: application/json' \
  --data '
{
  "To": "+14165550100",
  "From": "+12362320246",
  "CallSid": "CA5f7b1c2e8a1d4e0012c3b4a5"
}
'
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Dial callerId=\"+12362320246\" record=\"record-from-answer\" recordingStatusCallback=\"/api/webhook/calls/twilio/recording\" recordingStatusCallbackMethod=\"POST\" answerOnBridge=\"true\"><Number statusCallback=\"/api/webhook/calls/twilio/status\" statusCallbackMethod=\"POST\" statusCallbackEvent=\"initiated,ringing,answered,completed\" machineDetection=\"Enable\" machineDetectionTimeout=\"30\" machineDetectionSpeechThreshold=\"2400\" machineDetectionSpeechEndThreshold=\"1200\" machineDetectionSilenceTimeout=\"5000\" amdStatusCallback=\"/api/webhook/calls/twilio/amd\" amdStatusCallbackMethod=\"POST\">+14165550100</Number></Dial></Response>"

Body

application/json
To
string

PSTN destination the agent is dialing in E.164.

From
string

Tether-provisioned Twilio number to use as caller ID.

CallSid
string

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

Response

TwiML response. Bridges the browser leg to the PSTN destination with answering-machine detection and recording enabled.

The response is of type string.