Realtime
Reject call
Changed onDecline an incoming SIP call by returning a SIP status code to the caller.
post/realtime/calls/{call_id}/reject
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/realtime/calls/{call_id}/reject
- AuthHTTP bearer
Path parameters
call_idstring required
The identifier for the call provided in the realtime.call.incoming webhook.
Request body
Example request
{
"status_code": 486
}Response
Call rejected successfully.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info