Sample - OpenAI API
POST/live/sessions/{session_id}/accept

Accept call

Accept an incoming SIP call. Supply session with type live, the model, and startup configuration. Before accepting calls, follow the Live prompting guide to write frontend conversation instructions and a separate backend prompt. SIP media format is negotiated; omit audio.format.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter · 1 body field
session_idstringrequired
Opaque Live session identifier from the creation response or incoming-call webhook. Preserve the returned value unchanged, including its prefix.
sessionobjectrequired
Model and startup configuration for the Live session that answers the incoming SIP call.

1 status code
200Session accept request accepted.