SpyBara
Go Premium

resources/live/subresources/sessions/methods/reject/index.md 2026-09-10 18:01 UTC to 2026-09-11 20:00 UTC

This page contains 1 addition and 1 deletion.

2026
Thu 10 18:01 Fri 11 20:00 Fri 18 22:59

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 Parameters

  • session_id: string

Body Parameters

  • status_code: number

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

Example

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
        }'