Skip to main content
POST
/
v3
/
sequences
/
{id}
/
steps
Create a sequence step
curl --request POST \
  --url https://api.reply.io/v3/sequences/{id}/steps \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "email",
  "delayInMinutes": 1,
  "variants": [
    {
      "id": 123,
      "subject": "<string>",
      "message": "<string>",
      "attachmentIds": [
        123
      ]
    }
  ],
  "parentId": 123,
  "ifConditionPositive": true
}
'
{ "type": "email", "delayInMinutes": 1, "variants": [ { "id": 123, "subject": "<string>", "message": "<string>", "hasAttachments": true } ], "id": 123, "parentId": 123, "ifConditionPositive": true }

Authorizations

Authorization
string
header
required

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.

Path Parameters

id
integer
required

Sequence Id

Body

application/json

Email step with variant configuration

type
enum<string>
required

Step type discriminator

Available options:
email
delayInMinutes
integer
required

Delay in minutes before executing this step

Required range: x >= 0
executionMode
enum<string>
required

Execution mode for the email step

Available options:
automatic,
manual
variants
Email Variant · object[]
required

Array of email variants (A/B test versions)

parentId
integer | null

ID of the parent step (for branching)

ifConditionPositive
boolean | null

Whether this step is on the positive branch of a condition

Response

Sequence step created successfully

Email step with variant configuration

type
enum<string>
required

Step type discriminator

Available options:
email
delayInMinutes
integer
required

Delay in minutes before executing this step

Required range: x >= 0
executionMode
enum<string>
required

Execution mode for the email step

Available options:
automatic,
manual
variants
Email Variant · object[]
required

Array of email variants (A/B test versions)

id
integer | null
read-only

Unique identifier for the step

parentId
integer | null

ID of the parent step (for branching)

ifConditionPositive
boolean | null

Whether this step is on the positive branch of a condition