Skip to main content
GET
Get Twilio media stream url

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Query Parameters

voiceAgentMode
enum<string>

Optional voice agent mode

Available options:
cascade,
s2s

Response

OK - Twilio media stream url in the response body

streamingUrl
string

The websocket URL you provide to Twilio for media streaming.

Example:

"wss://localhost/mg-twilio-genagent/twilio-media/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"