Workflows
Cancel Workflow
Permanently cancel a workflow. Leads in active steps finish; no further steps fire. Cancellation cannot be reversed.
POST
Cancel a workflow
Cancels a workflow permanently. Any lead that is currently in an active step, for example a live voice call or a webhook delivery, is allowed to finish that step, but no further steps are triggered for any lead in the workflow. The
status transitions to cancelled and cannot be returned to active or paused. To run a similar workflow again, create a new one with Create Workflow (or use Duplicate Workflow to clone the cancelled one as a starting point).
When to use this
Cancellation is the right verb when you have decided the workflow’s work is done, not just temporarily on hold. Common cases:- End of campaign: the outreach window has closed and you want to formally finish the workflow even if some leads have not yet been dialled.
- Compliance escalation: a complaint or audit requires you to stop all enrolled leads immediately and permanently.
- Replacement rollout: a new workflow definition is taking over, and you want the old one to stop firing while keeping its records for audit.
Behavior
- In-flight calls are not interrupted; only future steps are cancelled.
- Call logs and per-lead history remain queryable in List Call Logs.
- The workflow record is retained, use Delete Workflow if you want to remove it entirely.
Path parameters
| Parameter | Description |
|---|---|
id | The workflow ID, for example wfl_m3v7zb9rk2px. |
Errors
404 Not Foundis returned when the workflow does not exist.409 Conflictis returned when the workflow is already in a terminal state.
Request
Response
Related endpoints
- Pause Workflow: temporary stop with the option to resume.
- Delete Workflow: remove the workflow entirely after cancellation.
- Duplicate Workflow: clone a cancelled workflow as the starting point for a new one.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Cancel a workflow