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 a step: its subject, message, and config (altMessage, altMessagePremium, cc, plainText), along with the abTest flag and the emailTemplateBId. Variant A’s content is available from Get Campaign Sequences — its per-step subject and message are always variant A’s. 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 subject

message
string

Variant B body (HTML)

altMessage
string

Variant B's LinkedIn note, same meaning as the step-level altMessage: the premium invitation note on a linkedinInvite step, the out-of-network note on a linkedinSend one

altMessagePremium
string

Variant B's premium variant of the out-of-network note, on linkedinSend steps only

cc
string[]
plainText
boolean