SpyBara
Go Premium

resources/live/subresources/sessions/methods/refer/index.md 2026-10-28 23:00 UTC to 2026-10-29 23:59 UTC

This page contains 3 additions and 1 deletion.

2026
Wed 28 23:00 Thu 29 23:59 Fri 30 23:59

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

Transfer call

post /live/sessions/{session_id}/refer

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

Path Parameters

  • session_id: string

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

Body Parameters

  • target_uri: string

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

    pattern: \S, minLength: 1

Example

curl https://api.openai.com/v1/live/sessions/$SESSION_ID/refer \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -d '{
          "target_uri": "tel:+14155550123"
        }'