Skip to main content
POST

End Call

Hang up an active call placed by a specific agent. Use this for emergency stops, user-requested cancellations, or to enforce custom timeout logic from your application.

Endpoint

Path parameters

string
required
Agent UUID owning the call.

Request headers

string
required
Bearer token. Format: Bearer talq_your_environment_token_here
string
required
Must be set to application/json

Request body

string
required
Identifier of the call to hang up. Use the id returned by Make a Call.

Examples

Response

Error responses

404 — Call Not Found

409 — Call Already Ended

Notes

  • Hangup propagation is asynchronous. The call status moves to completed shortly after this endpoint returns.
  • The ended_reason will be ended_by_api to differentiate from natural hangups.
  • Webhook events event_phone_call_ended will fire normally.