Skip to main content
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 '
{
  "type": "Email",
  "delayInMinutes": 1,
  "executionMode": "Automatic",
  "templates": [
    {
      "subject": "<string>",
      "body": "<string>",
      "id": 123,
      "templateId": 123
    }
  ]
}
'
{
  "type": "Email",
  "delayInMinutes": 1,
  "executionMode": "Automatic",
  "templates": [
    {
      "subject": "<string>",
      "body": "<string>",
      "id": 123,
      "templateId": 123
    }
  ],
  "id": 123
}

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

Email step with template 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
templates
Email Variant · object[]
required

Array of email templates/variants

Response

Sequence step updated successfully

Email step with template 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
templates
Email Variant · object[]
required

Array of email templates/variants

id
integer

Unique identifier for the step