v1
latestOpenAPI 3.1.02026-07-26359254.7 MBSequence Steps
Bulk create step variants
<small>Requires the sequences:write scope (or a broader one that includes it).</small>
Creates multiple text variants for a sequence step at once. For email steps, each variant may carry up to 3 attachmentIds (upload first via POST /v3/attachments); inaccessible attachment IDs surface as a per-item forbidden result.
post/v3/sequences/{id}/steps/{step_id}/variants/bulk
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
Array of per-item results, one per input variant (same order as request).
Possible per-item error codes:
| Error code | Meaning |
|---|---|
| invalidInput | Validation failed (e.g. more than 3 attachments) |
| invalidStep | Step type does not support this variant |
| forbidden | One or more attachment IDs are not accessible to the caller |
| internalError | Unexpected server error |