Realtime
Hang up call
Changed onEnd an active Realtime API call, whether it was initiated over SIP or WebRTC.
post/realtime/calls/{call_id}/hangup
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/realtime/calls/{call_id}/hangup
- AuthHTTP bearer
Path parameters
call_idstring required
The identifier for the call. For SIP calls, use the value provided in the realtime.call.incoming webhook. For WebRTC sessions, reuse the call ID returned in the Location header when creating the call with POST /v1/realtime/calls.
Response
Call hangup initiated successfully.
Changes
- info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info