## Refer call

`$ openai realtime:calls refer`

**post** `/realtime/calls/{call_id}/refer`

Transfer an active SIP call to a new destination using the SIP REFER verb.

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

- `--target-uri: string`

  URI that should appear in the SIP Refer-To header. Supports values like
  `tel:+14155550123` or `sip:agent@example.com`.

### Example

```cli
openai realtime:calls refer \
  --api-key 'My API Key' \
  --call-id call_id \
  --target-uri tel:+14155550123
```
