Hang up call
post /realtime/calls/{call_id}/hangup
End an active Realtime API call, whether it was initiated over SIP or WebRTC.
Path Parameters
call_id: string
Example
curl https://api.openai.com/v1/realtime/calls/$CALL_ID/hangup \
-X POST \
-H "Authorization: Bearer $OPENAI_API_KEY"
Example
curl -X POST https://api.openai.com/v1/realtime/calls/$CALL_ID/hangup \
-H "Authorization: Bearer $OPENAI_API_KEY"