POST
/
sequences
/
{id}
/
steps
Add sequence steps
curl --request POST \
  --url https://api.reply.io/v3/sequences/{id}/steps \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '[
  {
    "id": 123,
    "type": "Email",
    "number": "1",
    "delayInMinutes": 0,
    "emailTemplate": {
      "executionMode": "Automatic",
      "templates": [
        {
          "variantId": 1,
          "subject": "Introduction Email",
          "body": "Hi {{firstName}},\n\nI wanted to reach out regarding...",
          "templateId": 456
        }
      ]
    }
  }
]'
[
  {
    "id": 123,
    "type": "Email",
    "number": "1",
    "delayInMinutes": 0,
    "emailTemplate": {
      "executionMode": "Automatic",
      "templates": [
        {
          "variantId": 1,
          "subject": "Introduction Email",
          "body": "Hi {{firstName}},\n\nI wanted to reach out regarding...",
          "templateId": 456
        }
      ]
    }
  }
]

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Path Parameters

id
string
required

Sequence Id

Body

application/json · Sequence Step · object[]
id
integer
required

Unique identifier for the step

type
enum<string>
required

Type of the sequence step

Available options:
Email,
LinkedIn,
Call,
SMS,
WhatsApp,
Zapier,
Task
number
string
required

Step number in the sequence

delayInMinutes
integer
required

Delay in minutes before executing this step

Required range: x >= 0
template
object

Email step with template configuration

Example:
{
"id": 123,
"type": "Email",
"number": "1",
"delayInMinutes": 0,
"emailTemplate": {
"executionMode": "Automatic",
"templates": [
{
"variantId": 1,
"subject": "Introduction Email",
"body": "Hi {{firstName}},\n\nI wanted to reach out regarding...",
"templateId": 456
}
]
}
}

Response

Sequence steps created successfully

id
integer
required

Unique identifier for the step

type
enum<string>
required

Type of the sequence step

Available options:
Email,
LinkedIn,
Call,
SMS,
WhatsApp,
Zapier,
Task
number
string
required

Step number in the sequence

delayInMinutes
integer
required

Delay in minutes before executing this step

Required range: x >= 0
template
object

Email step with template configuration

Example:
{
"id": 123,
"type": "Email",
"number": "1",
"delayInMinutes": 0,
"emailTemplate": {
"executionMode": "Automatic",
"templates": [
{
"variantId": 1,
"subject": "Introduction Email",
"body": "Hi {{firstName}},\n\nI wanted to reach out regarding...",
"templateId": 456
}
]
}
}