Skip to main content

Request Stream Token

POST 

/api/widget/logs/:session_id/request-stream

Request a streaming token for audio playback.

This endpoint generates a short-lived token that can be used with the /api/media/stream endpoint for native browser audio streaming. The token allows the browser to use an audio element directly without needing to download the entire file first.

Returns: stream_url: URL with token for direct browser streaming expires_in: Token validity in seconds (300 = 5 minutes)

Request

Responses

Successful Response