Abort Calls
Stop a call from your backend at any stage: queued, ringing, or live.
Use POST /conversation/abort to stop a call you started, whatever stage it has reached. It works for outbound and inbound phone calls, web calls and chat.
Typical reasons to abort:
- The customer replied on another channel, so the call is no longer needed.
- You queued a call by mistake (wrong number, wrong agent, duplicate request).
- Your own system decided mid-call that the conversation has to end now.
To end a call from inside your agent (for example, when the conversation is complete), use the end-call tool or SDKAgentEndCallEvent. See Call Control. Abort is for stopping a call from outside the conversation.
Abort a call
Send the callId you got back when the call was created, or find it in GET /conversation.
What the response means
The API answers straight away. What it returns depends on where the call was when the abort arrived.
data.previousStatus tells you the status the call had when the abort arrived, for example in_queue or in_progress.
Confirm the call ended
A 200 is already final. A 202 means the call is ending, not that it has ended. To confirm the final aborted status, use either of these:
- Webhook: the
post-conversationevent arrives withcallStatus: "aborted"once the call has ended. See Webhooks. A call aborted while still queued never started, so it sends nopost-conversationevent. - Polling:
GET /conversation/{id}returnsdata.status: "aborted".
What happens to an aborted call
- Billing: billed like any other call, only for the time after it was answered, rounded up to your billing pulse. A call aborted while queued or ringing was never answered, so it costs nothing, with no ringing or minimum charge.
- Recording, transcript and post-call analytics: produced as for any other answered call, covering the part that took place.
- Campaigns: an aborted campaign call is not retried, and it is not dialed again when you resume the campaign.
- Call logs: the call shows the
abortedstatus, and itscallFailureReasonreadsCall aborted: <your reason>(orCall aborted by userwithout one).
Aborted vs cancelled
aborted is the status of any call you stop with POST /conversation/abort. cancelled is the status of calls stopped by the deprecated cancel endpoints or by a campaign pause. Campaign calls cancelled by a pause are dialed again when you resume the campaign; aborted calls never are.