Workflow Leads
List Workflow Leads
Retrieve every lead enrolled in a workflow with its current node, status, and enrollment timestamp.
GET
List workflow leads
Returns every lead enrolled in the given workflow, paginated. Each entry includes the lead’s enrollment
id, the contact phone_number, the current status (pending, in_progress, completed, removed, failed), the current_node_id the lead is sitting on, and the enrolled_at timestamp. Use this to monitor live progress through the sequence, build operational dashboards, and detect leads that have stalled on a specific node.
When to use this
- Workflow dashboards: render an enrollment table with each lead’s current step.
- Stall detection: find leads whose
current_node_idhas not changed in the expected time window and flag them for review. - Compliance audits: enumerate enrolled leads to demonstrate which contacts were dialled in a given period.
- CRM sync: write back the per-lead status to the originating CRM record.
Path parameters
| Parameter | Description |
|---|---|
workflowId | The workflow ID, for example wfl_m3v7zb9rk2px. |
Query parameters
| Parameter | Description |
|---|---|
page | Page number, starting from 1. |
limit | Results per page (max 100, default 20). |
status | Filter to leads in a specific status. |
Errors
404 Not Foundis returned when the workflow does not exist.
Request
Response
Related endpoints
- Add Lead to Workflow: enroll a new lead.
- Remove Workflow Lead: remove a lead from the workflow.
- Lead History: see every step a lead has moved through.
- Get Variable Keys: see which dynamic variables this workflow’s leads can carry.
List workflow leads