Sample - OpenAI API
POST/realtime/calls/{call_id}/reject

Reject call

Decline an incoming SIP call by returning a SIP status code to the caller.

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

1 parameter · 1 body field
call_idstringrequired
The identifier for the call provided in the [`realtime.call.incoming`](https://developers.openai.com/api/reference/resources/webhooks#realtime.call.incoming) webhook.

Provide an optional SIP status code. When omitted the API responds with 603 Decline.

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

1 status code
200Call rejected successfully.