Skip to main content
POST
/
sequences
Create a sequence
curl --request POST \
  --url https://api.reply.io/v3/sequences \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "New Sequence",
  "settings": {
    "emailsCountPerDay": 30,
    "daysToFinishProspect": 10,
    "emailSendingDelaySeconds": 20,
    "dailyThrottling": 150,
    "disableOpensTracking": false,
    "repliesHandlingType": "MARK_AS_FINISHED",
    "enableLinksTracking": true
  },
  "steps": [
    {
      "type": "Email",
      "delayInMinutes": 0,
      "executionMode": "Automatic",
      "templates": [
        {
          "subject": "New email subject",
          "body": "New email body"
        }
      ]
    },
    {
      "type": "LinkedIn",
      "delayInMinutes": 1440,
      "executionMode": "Automatic",
      "actionType": "Message",
      "message": "Hello, I would like to connect with you!"
    }
  ],
  "emailAccounts": [
    1,
    2
  ]
}'
{
  "id": 123,
  "teamId": 100,
  "ownerId": 42,
  "name": "Sales Outreach 2024",
  "created": "2024-03-08T14:30:00+00:00",
  "status": "Active",
  "isArchived": false,
  "scheduleId": 1,
  "emailAccounts": [
    {
      "id": 1,
      "email": "sales@company.com"
    },
    {
      "id": 2,
      "email": "outreach@company.com"
    }
  ],
  "settings": {
    "emailsCountPerDay": 50,
    "daysToFinishProspect": 14,
    "emailSendingDelaySeconds": 30,
    "dailyThrottling": 200,
    "disableOpensTracking": false,
    "repliesHandlingType": "MARK_AS_FINISHED",
    "enableLinksTracking": true
  },
  "steps": [
    {
      "id": 1323,
      "type": "Email",
      "number": "1",
      "delayInMinutes": 0,
      "template": {
        "emailTemplate": {
          "executionMode": "Automatic",
          "templates": [
            {
              "variantId": 1,
              "subject": "Quick question about {{companyName}}",
              "body": "Hi {{firstName}},\n\nI noticed you're leading initiatives at {{companyName}} and wanted to reach out regarding our solution that could help with your sales automation needs.\n\nWould you be open to a quick chat this week?\n\nBest regards,\nJohn",
              "templateId": 456
            }
          ]
        }
      }
    },
    {
      "id": 43432,
      "type": "LinkedIn",
      "number": "2",
      "delayInMinutes": 2880,
      "template": {
        "linkedInTemplate": {
          "actionType": "Message",
          "messageData": {
            "content": "Hi {{contact.firstName}}, I noticed your great work at {{contact.company}}. Would love to connect and discuss potential synergies between our companies."
          }
        }
      }
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Body

application/json

Model for creating a new sequence

name
string
required

Name of the sequence

settings
object
required

Settings configuration for a sequence

Example:
{
"emailsCountPerDay": 50,
"daysToFinishProspect": 14,
"emailSendingDelaySeconds": 30,
"dailyThrottling": 200,
"disableOpensTracking": false,
"repliesHandlingType": "MARK_AS_FINISHED",
"enableLinksTracking": true
}
steps
(Email · object | LinkedIn Message · object | LinkedIn Connect · object | LinkedIn InMail · object | LinkedIn View Profile · object | LinkedIn Endorse Skills · object | LinkedIn Voice Message · object | LinkedIn Like Recent Posts · object | LinkedIn Follow Profile · object | Call · object | SMS · object | WhatsApp · object | Zapier · object | Task · object)[]
required

Array of sequence steps

Minimum length: 1
  • Email
  • LinkedIn Message
  • LinkedIn Connect
  • LinkedIn InMail
  • LinkedIn View Profile
  • LinkedIn Endorse Skills
  • LinkedIn Voice Message
  • LinkedIn Like Recent Posts
  • LinkedIn Follow Profile
  • Call
  • SMS
  • WhatsApp
  • Zapier
  • Task
emailAccounts
integer[]
required

Array of email account IDs

Minimum length: 1
scheduleId
integer

ID of the scheduler to use (optional)

Required range: x >= 1

Response

Sequence created successfully

id
integer
required

Unique identifier for the sequence

teamId
integer
required

Identifier of the team that owns the sequence

ownerId
integer
required

Identifier of the user who owns the sequence

name
string
required

Name of the sequence

created
string<date-time>
required

Sequence creation timestamp with timezone offset

status
enum<string>
required

Current status of the sequence

Available options:
New,
Active,
Paused,
Archived
isArchived
boolean
required

Indicates if the sequence is archived

scheduleId
integer

Schedule ID

emailAccounts
object[]

Email accounts used to send emails for this sequence

settings
object

Settings configuration for a sequence

Example:
{
"emailsCountPerDay": 50,
"daysToFinishProspect": 14,
"emailSendingDelaySeconds": 30,
"dailyThrottling": 200,
"disableOpensTracking": false,
"repliesHandlingType": "MARK_AS_FINISHED",
"enableLinksTracking": true
}
steps
(Email · object | LinkedIn Message · object | LinkedIn Connect · object | LinkedIn InMail · object | LinkedIn View Profile · object | LinkedIn Endorse Skills · object | LinkedIn Voice Message · object | LinkedIn Like Recent Posts · object | LinkedIn Follow Profile · object | Call · object | SMS · object | WhatsApp · object | Zapier · object | Task · object)[]

Array of sequence steps

  • Email
  • LinkedIn Message
  • LinkedIn Connect
  • LinkedIn InMail
  • LinkedIn View Profile
  • LinkedIn Endorse Skills
  • LinkedIn Voice Message
  • LinkedIn Like Recent Posts
  • LinkedIn Follow Profile
  • Call
  • SMS
  • WhatsApp
  • Zapier
  • Task