Skip to main content
PUT
Update a step variant

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

variant_id
integer
required

Variant Id

Body

application/json

Request body for creating or updating a text variant

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

Variant updated successfully

A text variant for a sequence step

id
integer
read-only

Unique identifier for the variant

subject
string | null

Subject line of the variant

message
string | null

Message content of the variant

isEnabled
boolean

Whether the variant is enabled

hasAttachments
boolean

Whether the variant has any attachments. To retrieve or modify attachments, use GET /v3/attachments and the attachmentIds field on create/update.