POST
/
v4
/
sequences
/
create-from-template
Create a sequence from a template
curl --request POST \
  --url https://api.reply.io/v4/sequences/create-from-template \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sequenceFolderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": 123,
  "ownerUserId": 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"
    }
  ],
  "linkedInAccounts": [
    {
      "id": 42,
      "name": "John Doe",
      "profileUrl": "https://www.linkedin.com/in/johndoe",
      "status": "Enabled"
    }
  ],
  "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",
              "isEnabled": true
            }
          ]
        }
      }
    },
    {
      "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
templateId
string<uuid>
required

Template Id to create the sequence from

sequenceFolderId
string<uuid> | null

Optional folder Id to place the new sequence in

Response

Sequence created from template successfully

id
integer

Unique identifier for the sequence

ownerUserId
integer

Identifier of the user who owns the sequence

name
string

Name of the sequence

created
string<date-time>

Sequence creation timestamp with timezone offset

status
enum<string>

Current status of the sequence

Available options:
New,
Active,
Paused
isArchived
boolean

Indicates if the sequence is archived

scheduleId
integer

Schedule ID

emailAccounts
object[]

Email accounts used to send emails for this sequence

linkedInAccounts
LinkedIn Account · object[]

LinkedIn accounts linked to this sequence

settings
Sequence Settings · object

Settings configuration for a sequence

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 | Condition · object)[]

Array of sequence steps

Email step with template configuration