PATCH
/
sequences
/
{id}
Update a sequence
curl --request PATCH \
  --url https://api.reply.io/v3/sequences/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "schedulerId": 2,
  "settings": {
    "emailsCountPerDay": 50,
    "daysToFinishProspect": 14,
    "emailSendingDelaySeconds": 30,
    "dailyThrottling": 200,
    "disableOpensTracking": false,
    "repliesHandlingType": "MARK_AS_FINISHED",
    "enableLinksTracking": true
  },
  "emailAccountIds": [
    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

Path Parameters

id
integer
required

Sequence Id

Required range: x >= 1

Body

application/json

Model for updating an existing 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
}
schedulerId
integer

ID of the scheduler to use (optional)

Required range: x >= 1
emailAccountIds
integer[]

Array of email account IDs

Minimum length: 1

Response

Sequence updated 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
Sequence Step · object[]

Array of sequence steps