Skip to main content
GET
Get all leads for a specific workflow
Legacy endpoint - deprecated. Unversioned endpoints are scheduled for removal on July 31, 2026. Use the /v1 version for new integrations. This endpoint remains available for existing integrations until then.
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_id has 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.
For a single lead’s full step-by-step history, use Lead History. For the call logs produced by enrolled leads, use List Call Logs filtered by the workflow ID.

Path parameters

Query parameters

Errors

  • 404 Not Found is returned when the workflow does not exist.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-organization-id
string
required

RSA encrypted organization ID (base64 format)

Example:

"BASE64_ENCRYPTED_ORG_ID_HERE"

Path Parameters

workflowId
string
required

Query Parameters

leadIds
string
required

Response

List of leads