Skip to main content
GET
Get A/B Test Variant
A/B testing requires at least the Email Pro plan.
Returns the variant B content of the A/B test on an email step: its subject, message, and config (altMessage, cc, plainText), along with the abTest flag and the emailTemplateBId. Variant A’s content is available from Get Campaign Sequences. If the step does not run an A/B test, the endpoint returns 404.

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

sequenceId
string
required

The unique identifier of the sequence

stepId
string
required

The unique identifier of the step

Response

Success

stepId
string
abTest
emailTemplateBId
string

Email template ID of variant B

subject
string

Variant B email subject

message
string

Variant B email body (HTML)

altMessage
string
cc
string[]
plainText
boolean