Skip to main content
GET
Get Campaign Sequences
For example, if the main sequence includes a condition that contains two sequences, you will receive both the sequence tree and all condition sequences in the main sequences array. On a step running an A/B test, abTest and emailTemplateBId are set, but the step’s subject and message are always variant A’s — read variant B with Get A/B Test Variant.

Condition steps

A step of type conditional carries its branches in conditions, in execution order with the Else branch last. Each entry names the sub-sequence its leads walk — look that sequenceId up as a key of this same response to read the branch’s own steps.
A branch whose delay was hydrated has no selector left, so what it actually tests is not in this response at all — a hasScore branch shows its window but not its score band, an aircallDone branch not its call statuses.GET /sequences/{sequenceId}/steps/{stepId}/branches returns the same branches with everything decoded into parameters (customField, customOperator, customValues, scoreComparator, scoreThreshold, emailStatusFilter, callStatusFilter, delay, delayType) instead of a raw Mongo fragment. Use it whenever you need to read or edit what a branch tests.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

campaignId
string
required

The unique identifier of the campaign

Response

Success

Object where each key is a sequence ID and each value is a sequence object

{key}
object