Skip to content
Primary navigation

Reject call

$ openai realtime:calls reject
POST/realtime/calls/{call_id}/reject

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

ParametersExpand Collapse
--call-id: string

The identifier for the call provided in the realtime.call.incoming webhook.

--status-code: optional number

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

Reject call

openai realtime:calls reject \
  --api-key 'My API Key' \
  --call-id call_id
Returns Examples