Skip to content
Primary navigation

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.

ParametersExpand Collapse
--call-id: string

The identifier for the call provided in the 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.

Refer call

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