OpenAPI 3.1.02026-08-175661822.2 MB

3c7cf84cec44

Voice

Hang up a live call

Hangs up a live call on demand. 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.

post/v1/voice/calls/{id}/end

Path parameters

idstring required

Response

Hangup issued (or the call was already over).

successboolean
callIdstring
statusstring

ending when a hangup was issued; otherwise the call's current status.