Create call
PreviewStart a voice call on a session (the chat microphone). Uses the settings of a voice channel of the session’s agent.
/v1/sessions/{session_id}/voice/callsSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Request body for a session voice call (the chat microphone).
object
Voice channel whose settings the call uses (appchan_…). Must belong
to the session’s agent. When omitted, the agent’s first voice channel
is used, or the defaults when it has none.
Example
appchan_01933b5a000070008000000000000001Realtime provider binding: the public id of the provider connection
that serves the call (prov_…). When omitted, the org’s default (or
single) realtime provider is used.
Example
prov_01h…The browser’s WebRTC SDP offer.
Responses
200Realtime WebRTC call started
Realtime WebRTC call started
A started voice call.
object
SDP answer that completes the browser’s WebRTC handshake.
Voice channel whose settings the call uses, when there is one.
When the call’s lease expires (RFC 3339).
Speech model.
Realtime provider type serving the call (e.g. openai).
Provider-side call identifier.
Provider voice.
Prefixed public identifier of the voice connection.
Example generated
{ "answer_sdp": "example", "channel_id": "example", "expires_at": "2026-04-15T12:00:00Z", "model": "example", "provider": "example", "provider_call_id": "example", "voice": "example", "voice_connection_id": "example"}