Hang up this call
POST/api/calls/:callId/hangup
The call-id keyed form of the conversation hangup — and the reason this route family exists: with two calls on one thread the conversation endpoint ends the newest, which can be the customer the agent is NOT speaking to.
The holder gate is unchanged: only the agent who answered may end it.
Request
Responses
- 200
- 401
- 403
- 404
- 409
The call has ended.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
The call is held by another agent.
Resource not found (or not visible to the current tenant).
The call has already ended, or its channel is no longer configured.