Zernio
Zernio
API Reference

Sequences

List enrollments for a sequenceGETList sequencesGETCreate sequencePOSTGet sequence with stepsGETUpdate sequencePATCHDelete sequenceDELETEActivate sequencePOSTEnroll contacts in a sequencePOSTPause sequencePOSTUnenroll contactDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Sequences

Update sequence

Update a sequence's name, steps, or exit conditions. Steps can only be modified while the sequence is draft or paused.


PATCH
/v1/sequences/{sequenceId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

sequenceId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

{  "success": true,  "sequence": {    "id": "string",    "name": "string",    "description": "string",    "status": "string",    "steps": [      {}    ],    "exitOnReply": true,    "exitOnUnsubscribe": true,    "updatedAt": "2019-08-24T14:15:22Z"  }}
Was this page helpful?

Get sequence with steps

Returns a sequence with all its steps and enrollment stats.

Delete sequence

Permanently delete a sequence. Active enrollments are stopped.

name?string
description?string
steps?array<>

Replace the full step list. Only allowed while the sequence is draft or paused.

exitOnReply?boolean
exitOnUnsubscribe?boolean