Request Stream Token
POST/api/phone/logs/:call_id/request-stream
Request a streaming token for audio playback.
Accepts either:
- Provider call session ID (UUID format)
- Internal call_log_id (SCL_xxx format)
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
- 200
- 422
Successful Response
Validation Error