resources/live/subresources/sessions/methods/refer/index.md +0 −26 deleted
File Deleted View Diff
1## Transfer call
2
3**post** `/live/sessions/{session_id}/refer`
4
5Transfer a SIP call to another destination. Supply a nonblank target_uri for the SIP Refer-To header.
6
7### Path Parameters
8
9- `session_id: string`
10
11### Body Parameters
12
13- `target_uri: string`
14
15 Nonblank URI for the SIP Refer-To header, such as tel:+14155550123 or sip:agent@example.com.
16
17### Example
18
19```http
20curl https://api.openai.com/v1/live/sessions/$SESSION_ID/refer \
21 -H 'Content-Type: application/json' \
22 -H "Authorization: Bearer $OPENAI_API_KEY" \
23 -d '{
24 "target_uri": "tel:+14155550123"
25 }'
26```