Skip to main content
Sequences are automated follow-up campaigns. Each sequence has ordered steps that execute on a schedule. Steps can be fixed (pre-written message templates) or AI (the AI generates the message based on conversation context).

List Sequences

GET /accounts/:id/sequences
integer
default:"50"
Max results (1-250)
integer
default:"0"
Pagination offset
Response: 200 OK

Create Sequence

POST /accounts/:id/sequences
string
required
Sequence name
string
Description of the sequence purpose
boolean
default:"true"
Whether the sequence is active
boolean
default:"false"
Whether this is the default sequence for auto-enrollment
array
required
Ordered array of sequence steps

Step Object

Response: 201 Created

Template Variables

Fixed-type steps support these variables:

Enroll a Lead

POST /accounts/:id/sequences/:sequence_id/enroll
string
required
Phone number of the lead to enroll (E.164)
Response: 200 OK
If the lead is already enrolled and active, the response action will be "already_enrolled". If previously cancelled, it will be "reactivated".

Update Sequence

PATCH /accounts/:id/sequences/:sequence_id Update a sequence’s name, description, active status, or steps. Leads already enrolled continue on the existing steps — changes only apply to new enrollments.

Delete Sequence

DELETE /accounts/:id/sequences/:sequence_id Removes a sequence. Leads currently enrolled are automatically cancelled.
Response: 200 OK