Hang up a live call
Changed onHangs up a live call on demand, including an outbound call that is still ringing and has not been answered yet (the callee stops ringing immediately). Works for PSTN calls and for WhatsApp calls (the callId returned by POST /v1/whatsapp/calls, or an inbound WhatsApp call id). A WhatsApp call forwarded to a wss:// destination also ends automatically when that WebSocket closes. Idempotent: ending a call that already ended (or never connected) returns success with the call's current status. Final duration/cost are written asynchronously when the hangup event lands, so the call doc may briefly still show its prior status.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/voice/calls/{id}/end
- Auth: HTTP bearer
Path parameters
Response
Hangup issued (or the call was already over).
Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info