Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Reject call

$ openai live:sessions reject
POST/live/sessions/{session_id}/reject

Reject an incoming SIP call. Send a required SIP rejection status_code between 300 and 699.

ParametersExpand Collapse
--session-id: string

Opaque Live session identifier from the creation response or incoming-call webhook. Preserve the returned value unchanged, including its prefix.

--status-code: number

SIP rejection status sent to the caller. This field is required.

Reject call

openai live:sessions reject \
  --api-key 'My API Key' \
  --session-id session_id \
  --status-code 486
Returns Examples