Reject call
POST
/realtime/calls/{call_id}/rejectDecline an incoming SIP call by returning a SIP status code to the caller.
Path Parameters
call_id: string
The identifier for the call provided in the
realtime.call.incoming
webhook.
Reject call
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}'