Bulk create step variants
Beta. This endpoint is in beta. Behavior, parameters, and response shapes may change without notice.
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.
Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Authorization: Bearer <your-api-key>Get your API key from the Reply dashboard: Settings → API Key.
Body
Message content of the variant
Subject line of the variant
Whether the variant is enabled
IDs of previously uploaded attachments to attach to this variant. Upload files via POST /v3/attachments first to obtain attachment IDs.
A variant may carry up to 3 attachments. Omit or pass null to leave attachments unchanged on update; pass an empty array to clear existing attachments.
3Response
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 |