Skip to main content
POST
Add A/B Test Variant
Add a variant to a draft campaign or sequence A/B test. The next variant label (B, C, …) is assigned automatically. A test can have at most 5 variants, and variants cannot be added after the test has started. Sequence variants receive their own editable email template; when the parent sequence is active, pass confirmLiveChange: true because the new variant immediately enters the live rotation.

Request

abTestId
string
required
A/B test ID.
subject
string
required
Variant subject line.
previewText
string
Variant preview text.
blocks
array
Variant body blocks. Defaults to the campaign or sequence control email blocks when omitted.
confirmLiveChange
boolean
Required as true when the A/B test belongs to an active sequence.

Responses