Skip to main content
POST
Bulk create step variants

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Get your API key from the Reply dashboard: Settings → API Key.

Path Parameters

id
integer
required

Sequence Id

step_id
integer
required

Step Id

Body

application/json
message
string
required

Message content of the variant

subject
string | null

Subject line of the variant

isEnabled
boolean
default:true

Whether the variant is enabled

attachmentIds
integer[] | null

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.

Maximum array length: 3

Response

Array of per-item results, one per input variant (same order as request).

Possible per-item error codes:

id
integer | null
read-only

ID of the created resource, null if creation failed

error
integer | null
read-only

Error code if creation failed

errorDetails
string | null
read-only

Human-readable error description if creation failed