Workflow Leads
List Workflow Leads
deprecated
Retrieve every lead enrolled in a workflow with its current node, status, and enrollment timestamp.
GET
Get all leads for a specific workflow
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
Query parameters
Errors
404 Not Foundis returned when the workflow does not exist.
Related endpoints
- Upload Workflow Leads: 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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
RSA encrypted organization ID (base64 format)
Example:
"BASE64_ENCRYPTED_ORG_ID_HERE"
Path Parameters
Query Parameters
Response
List of leads
Get all leads for a specific workflow