v1
latestOpenAPI 3.1.02026-07-26359254.7 MBSequence Steps
Create a step variant
<small>Requires the sequences:write scope (or a broader one that includes it).</small>
Creates a new variant for a sequence step. Supports both text variants (application/json) and voice message variants (multipart/form-data).
For email-step text variants, the request may carry up to 3 attachmentIds (upload first via POST /v3/attachments). Inaccessible attachment IDs are rejected with 403 sequenceStep.forbidden.
post/v3/sequences/{id}/steps/{step_id}/variants
Path parameters
idinteger required
Sequence Id
step_idinteger required
Step Id
Request body
Example request
{
"subject": "Follow up on our conversation",
"message": "Hi {{firstName}}, I wanted to follow up...",
"isEnabled": true,
"attachmentIds": [
101,
102
]
}Response
Variant created successfully
Example response
{
"id": 1,
"subject": "Follow up on our conversation",
"message": "Hi {{firstName}}, I wanted to follow up...",
"isEnabled": true,
"hasAttachments": false
}