Open a live call monitoring session
POST/api/v1/calls/:callId/monitor
Create a single-use ticket valid for 60 seconds for a call-scoped WebSocket. Connect to websocket_path on the same API origin using wss. The stream sends ready, transcript_snapshot, transcript_updated and call_ended JSON events. Transcript events contain the complete current transcripts array; replace items by id. Optional audio uses audio_started, audio_chunk, audio_stopped and audio_error events. Audio chunks contain base64 signed 16-bit little-endian PCM; audio_started supplies sample_rate and channels. Audio requires workspace live-audio access and a supported active media connection. Audio startup failure leaves transcripts available. Access is rechecked on connection and every 15 seconds. Reconnect by creating a new session. Tickets are credentials; keep them out of logs. Live transcripts are raw, before post-call privacy processing. No client messages are required.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 429
- 503
Single-use monitoring ticket created
Invalid audio option
Invalid or missing API token
Live audio access is not enabled
Live call not found or inaccessible
Call is no longer live
Too many pending monitoring sessions
Monitoring temporarily unavailable