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

POST/live/sessions/{session_id}/reject

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

Path ParametersExpand Collapse
session_id: string
Body ParametersJSONExpand Collapse
status_code: number

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

minimum300
maximum699

Reject call

curl https://api.openai.com/v1/live/sessions/$SESSION_ID/reject \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -d '{
          "status_code": 486
        }'
Returns Examples