Skip to main content
POST
/
sequences
/
{id}
/
steps
/
{step_id}
/
variants
Create a step variant
curl --request POST \
  --url https://api.reply.io/v3/sequences/{id}/steps/{step_id}/variants \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "subject": "Follow up on our conversation",
  "body": "Hi {{firstName}}, I wanted to follow up...",
  "isEnabled": true
}
'
{
  "id": 1,
  "subject": "Follow up on our conversation",
  "body": "Hi {{firstName}}, I wanted to follow up...",
  "isEnabled": true
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Path Parameters

id
integer
required

Sequence Id

step_id
integer
required

Step Id

Body

application/json

Request body for creating or updating a text variant

subject
string

Subject line of the variant

body
string

Body content of the variant

isEnabled
boolean
default:true

Whether the variant is enabled

Response

Variant created successfully

A text variant for a sequence step

id
integer
required

Unique identifier for the variant

subject
string
required

Subject line of the variant

body
string
required

Body content of the variant

isEnabled
boolean
required

Whether the variant is enabled