Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Transfer call

$ openai live:sessions refer
POST/live/sessions/{session_id}/refer

Transfer a SIP call to another destination. Supply a nonblank target_uri for the SIP Refer-To header.

ParametersExpand Collapse
--session-id: string

Opaque Live session identifier from the creation response or incoming-call webhook. Preserve the returned value unchanged, including its prefix.

--target-uri: string

Nonblank URI for the SIP Refer-To header, such as tel:+14155550123 or sip:agent@example.com.

Transfer call

openai live:sessions refer \
  --api-key 'My API Key' \
  --session-id session_id \
  --target-uri tel:+14155550123
Returns Examples