Transfer call
post /live/sessions/{session_id}/refer
Transfer a Live SIP call to another destination.
Path Parameters
session_id: string
Body Parameters
-
target_uri: stringNonblank URI for the SIP Refer-To header, such as tel:+14155550123 or sip:agent@example.com.
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"
}'