Make a Call
End Call
Hang up an active call placed by an agent
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
Agent UUID owning the call.
Request headers
Bearer token. Format:
Bearer talq_your_environment_token_hereMust be set to
application/jsonRequest body
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
completedshortly after this endpoint returns. - The
ended_reasonwill beended_by_apito differentiate from natural hangups. - Webhook events
event_phone_call_endedwill fire normally.