PATCH
/
sequences
/
{id}
/
steps
/
{step_id}
Update a sequence step
curl --request PATCH \
  --url https://api.reply.io/v3/sequences/{id}/steps/{step_id} \
  --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

step_id
string
required

Step Id

Body

application/json

A step in a sequence with its associated template based on the step type

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 step updated successfully

A step in a sequence with its associated template based on the step type

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
}
]
}
}