## 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.

### Parameters

- `--call-id: string`

  The identifier for the call provided in the
  [`realtime.call.incoming`](https://platform.openai.com/docs/api-reference/webhook-events/realtime/call/incoming)
  webhook.

- `--status-code: optional number`

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

### Example

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