Skip to main content
GET
WebSocket endpoint for Twilio Media Streams. Use a short-lived stream token during setup, or tenant bearer authentication for compatible internal clients.

Response

No response body — WebSocket upgrade (101). WebSocket upgrade speaking the Twilio Media Streams protocol (bidirectional JSON frames carrying base64 audio, start/media/mark/stop events). Twilio connects here from the TwiML that /incoming-call-sip and /outbound-call-sip return; browser web calls speak the same protocol. There is no JSON response body over plain HTTP.

Status codes

Last modified on August 31, 2026