sequences
List enrollments for a sequence
Returns enrolled contacts with their progress, status, and next scheduled step.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
sequenceIdstring
Query Parameters
status?string
Value in
"active" | "completed" | "exited" | "paused"limit?integer
Default
50skip?integer
Default
0Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.sequences.listSequenceEnrollments({ path: { sequenceId: 'sequence_abc123', },});console.log(data);{
"success": true,
"enrollments": [
{
"id": "string",
"contactId": "string",
"channelId": "string",
"platformIdentifier": "string",
"contactName": "string",
"currentStepIndex": 0,
"status": "active",
"exitReason": "string",
"nextStepAt": "2019-08-24T14:15:22Z",
"stepsSent": 0,
"lastStepSentAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"total": 0,
"limit": 0,
"skip": 0,
"hasMore": true
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}