voice

Twiml Outbound Call

TwiML webhook for outbound calls from Voice SDK.

When a user initiates a call from the mobile app using voice.connect(), Twilio calls this webhook to get instructions on how to route the call.

Query/Form params sent by Twilio:

  • To: Destination phone number (from connect params)
  • From: Caller's identity (clerk_user_id)
  • CallSid: Unique call identifier
  • Additional custom params from connect()
post/voice/twiml/outbound

Response

Successful Response

{"stackTrail":"paths:/voice/twiml/outbound:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 5 revisions of this API.