sequences
List sequences
Returns sequences with enrollment stats. Filter by status, platform, or profile.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
profileId?string
Filter by profile. Omit to list across all profiles
status?string
Value in
"draft" | "active" | "paused"limit?integer
Default
50skip?integer
Default
0Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.sequences.listSequences();console.log(data);{
"success": true,
"sequences": [
{
"id": "string",
"name": "string",
"description": "string",
"platform": "string",
"accountId": "string",
"accountName": "string",
"messagePreview": "string",
"status": "draft",
"stepsCount": 0,
"exitOnReply": true,
"exitOnUnsubscribe": true,
"totalEnrolled": 0,
"totalCompleted": 0,
"totalExited": 0,
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"total": 0,
"limit": 0,
"skip": 0,
"hasMore": true
}
}{
"error": "Unauthorized"
}