SpyBara
Go Premium

resources/realtime/subresources/calls/methods/reject/index.md 2026-07-07 08:02 UTC to 2026-07-09 20:58 UTC

This page contains 1 addition and 1 deletion.

2026
Thu 9 20:58 Sun 12 06:58

Reject call

post /realtime/calls/{call_id}/reject

Reject call

Path Parameters

  • call_id: string

Body Parameters

  • status_code: optional number

    SIP response code to send back to the caller. Defaults to 603 (Decline) when omitted.

Example

curl https://api.openai.com/v1/realtime/calls/$CALL_ID/reject \
    -X POST \
    -H "Authorization: Bearer $OPENAI_API_KEY"

Example

curl -X POST https://api.openai.com/v1/realtime/calls/$CALL_ID/reject \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status_code": 486}'