resources/live/subresources/sessions/methods/reject/index.md +0 −26 deleted
File Deleted View Diff
1## Reject call
2
3**post** `/live/sessions/{session_id}/reject`
4
5Reject an incoming SIP call. Send a required SIP rejection status_code between 300 and 699.
6
7### Path Parameters
8
9- `session_id: string`
10
11### Body Parameters
12
13- `status_code: number`
14
15 SIP rejection status sent to the caller. This field is required.
16
17### Example
18
19```http
20curl https://api.openai.com/v1/live/sessions/$SESSION_ID/reject \
21 -H 'Content-Type: application/json' \
22 -H "Authorization: Bearer $OPENAI_API_KEY" \
23 -d '{
24 "status_code": 486
25 }'
26```