agentlyleads docs
Sequences API

GET /api/v1/sequences

Returns the workspace's sequences, newest first, each with its steps. Requires the read:sequences scope.

Request

GET /api/v1/sequences?status=ACTIVE HTTP/1.1
Host: agentlyleads.com
Authorization: Bearer alk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Query parameters

ParameterDescription
statusACTIVE or ARCHIVED
offeringIdOnly sequences promoting this product
updatedSinceISO 8601 datetime
limitPage size, 1 to 1000 (default 100)
cursorThe nextCursor value from the previous page

Response (200)

{
  "sequences": [
    {
      "id": "cmq2seqn0alk34567890",
      "name": "New farm buyers",
      "status": "ACTIVE",
      "sendMode": "DRAFT",
      "fromEmail": null,
      "offering": null,
      "businessHoursOnly": true,
      "exitOnReply": true,
      "exitOnDealCreated": false,
      "exitOnStatusChange": false,
      "steps": [
        { "id": "cmq2step0alk34567890", "order": 0, "type": "EMAIL", "delayDays": 0, "subject": "Quick question, {{firstName}}", "bodyHtml": "<p>...</p>", "taskTitle": null },
        { "id": "cmq2step1alk34567890", "order": 1, "type": "TASK", "delayDays": 3, "subject": null, "bodyHtml": null, "taskTitle": "Call to follow up" }
      ],
      "enrollmentCount": 42,
      "createdAt": "2026-09-01T12:00:00.000Z",
      "updatedAt": "2026-09-01T12:00:00.000Z"
    }
  ],
  "nextCursor": null
}

On this page