Skip to main content
POST
/
v3
/
sequences
/
{id}
/
steps
/
bulk
Bulk create sequence steps
curl --request POST \
  --url https://api.reply.io/v3/sequences/{id}/steps/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "type": "Email",
    "delayInMinutes": 1,
    "executionMode": "Automatic",
    "variants": [
      {
        "id": 123,
        "subject": "<string>",
        "message": "<string>",
        "emailTemplateId": 2
      }
    ],
    "parentId": 123,
    "ifConditionPositive": true
  }
]
'
[
  {
    "id": 123,
    "error": 123,
    "errorDetails": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.reply.io/llms.txt

Use this file to discover all available pages before exploring further.

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

Array of per-item results, one per input step (same order as request).

Possible per-item error codes:

errorMeaning
1InvalidInput — validation failed
2InvalidStep — step type or configuration is invalid
3InternalError — unexpected server error
5StepLocked — step cannot be modified
id
integer | null
read-only

ID of the created resource, null if creation failed

error
integer | null
read-only

Error code if creation failed

errorDetails
string | null
read-only

Human-readable error description if creation failed