Skip to content
Primary navigation

Hang up call

$ openai realtime:calls hangup
POST/realtime/calls/{call_id}/hangup

End an active Realtime API call, whether it was initiated over SIP or WebRTC.

ParametersExpand Collapse
--call-id: string

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.

Hang up call

openai realtime:calls hangup \
  --api-key 'My API Key' \
  --call-id call_id
Returns Examples