Workflow Leads
Delete Workflow Lead
Remove one lead from a workflow.
DELETE
Delete Workflow Lead
Destructive
Marks a single lead as removed from the workflow. The lead disappears from List Workflow Leads and no longer matches inbound calls. Removal does not cancel steps already scheduled for that lead and does not interrupt a step in flight: if the lead is waiting in a time step, it still moves on when the wait expires, and a Voice Call node it reaches still places a call. Pausing the workflow only holds that call until the workflow is active again; it does not cancel it (see Update Workflow Status).
When to use this
Use lead-level removal to remove a contact from the lead list or correct enrollment data. For an opt-out that must block future outbound calls and workflow processing, add the number to the workspace DND list; deleting a lead alone does not cancel scheduled activity. Common cases:- Opt-outs and Do Not Call requests: remove the lead so it stops matching inbound calls and leaves the lead list. Check Lead History for a step that is still scheduled, because removal does not cancel it.
- Data correction: remove a lead that was enrolled with the wrong phone number; re-enroll the corrected record through Upload Workflow Leads. On a draft workflow an upload replaces every lead, so upload the corrected complete file instead.
- Compliance escalations: remove a lead from the workflow while you investigate a complaint, leaving the lead’s call history available in Call History.
action: "pause"; leads already inside a step keep advancing.
Behavior
- The lead’s historical call logs and step history remain queryable.
- In-flight steps are allowed to finish (DialNexa does not hang up a live call to honor the removal).
- Steps already scheduled for the lead are not cancelled by this call and can still place a call.
- The lead’s Lead History stays readable after removal.
Path parameters
Errors
404 Not Foundis returned when the workflow or lead does not exist, the lead is not enrolled in the specified workflow, or it was already removed.
Related endpoints
- Upload Workflow Leads: enroll a new lead.
- List Workflow Leads: view current enrollments and their status.
- Lead History: review the steps a lead has already moved through.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workflow ID
Example:
"workflow_abc123"
Lead ID
Example:
"lead_abc123"