sequences
Add a new variant to an existing step
Append a variant to an existing step. Email steps support up to 26 variants (A/B…Z); other channels support a single active variant at a time.
The <code>payload</code> shape must match the step's channel — Email variants take <code>{ subject, content, preheader? }</code>; LinkedIn Connection Request takes <code>{ connectionNote }</code>; LinkedIn Message/InMail takes <code>{ message }</code> (+ <code>subject</code> for InMail); ViewProfile, PostInteraction, Call, Task and Whatsapp steps accept <code>{}</code>. See OpenAPI.md.
post/v1/sequences/{sequenceId}/steps/{stepId}/variants
Path parameters
sequenceIdstring required
The ID of the sequence
stepIdstring required
The ID of the step
Request body
Example request
{
"payload": {
"subject": "Following up, {{firstName}}",
"content": "<p>Hi {{firstName}},</p><p>Wanted to follow up on my last email.</p>",
"preheader": "Following up"
},
"attachmentIds": [
"lN5xKp2vJq"
],
"taskNote": "Follow up within 24 hours if no reply",
"absoluteDays": 3,
"assigneeId": "z6R8Mw4vBn"
}Response
Sequence step variant created
Changes
No recorded changes to this endpoint across all 1 revision of this API.