Introduction
API Documentation
- Sequences
- Sequence Actions
- Sequence Steps
- Sequence Steps Actions
- Sequence Contacts
- Contacts
- Contacts Actions
- Schedules
- Lists
- Tasks
- Templates
- Black List
- Email Accounts
- Statistics
- Reports
- Branded Links
- Webhooks
- Webhook Actions
- Webhook Events
- Webhooks Management
Schemas
Sequences
Update a sequence
Updates an existing sequence
PATCH
/
sequences
/
{id}
Update a sequence
Copy
curl --request PATCH \
--url https://stoplight.io/mocks/replyteam/reply/765516802/sequences/{id} \
--header 'Content-Type: application/json' \
--data '{
"id": "123",
"name": "Sales Outreach 2024",
"status": "Active",
"isArchived": false,
"version": 7,
"scheduleId": "456",
"emailAccounts": [
{
"id": "e17b…",
"address": "sales@company.com"
},
{
"id": "d9ab…",
"address": "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": {
"id": 456,
"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"
}
},
{
"id": 43432,
"type": "LinkedIn",
"number": 2,
"delayInMinutes": 2880,
"executionMode": "Automatic",
"actionType": "Message",
"data": {
"content": "Hi {{contact.firstName}}, I noticed your great work at {{contact.company}}. Would love to connect and discuss potential synergies between our companies."
}
}
],
"meta": {
"orgId": "0f555e9d-…",
"teamId": "77e415c0-…",
"userId": "a9c6d42b-…",
"ownerId": "a9c6d42b-…",
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z",
"createdBy": "a9c6d42b-…",
"updatedBy": "db7f9812-…"
}
}'
Copy
{
"id": "123",
"name": "Sales Outreach 2024",
"status": "Active",
"isArchived": false,
"version": 7,
"scheduleId": "456",
"emailAccounts": [
{
"id": "e17b…",
"address": "sales@company.com"
},
{
"id": "d9ab…",
"address": "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": {
"id": 456,
"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"
}
},
{
"id": 43432,
"type": "LinkedIn",
"number": 2,
"delayInMinutes": 2880,
"executionMode": "Automatic",
"actionType": "Message",
"data": {
"content": "Hi {{contact.firstName}}, I noticed your great work at {{contact.company}}. Would love to connect and discuss potential synergies between our companies."
}
}
],
"meta": {
"orgId": "0f555e9d-…",
"teamId": "77e415c0-…",
"userId": "a9c6d42b-…",
"ownerId": "a9c6d42b-…",
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z",
"createdBy": "a9c6d42b-…",
"updatedBy": "db7f9812-…"
}
}
Path Parameters
Sequence Id
Body
application/json
Response
200 - application/json
Sequence updated successfully
The response is of type object
.
Update a sequence
Copy
curl --request PATCH \
--url https://stoplight.io/mocks/replyteam/reply/765516802/sequences/{id} \
--header 'Content-Type: application/json' \
--data '{
"id": "123",
"name": "Sales Outreach 2024",
"status": "Active",
"isArchived": false,
"version": 7,
"scheduleId": "456",
"emailAccounts": [
{
"id": "e17b…",
"address": "sales@company.com"
},
{
"id": "d9ab…",
"address": "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": {
"id": 456,
"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"
}
},
{
"id": 43432,
"type": "LinkedIn",
"number": 2,
"delayInMinutes": 2880,
"executionMode": "Automatic",
"actionType": "Message",
"data": {
"content": "Hi {{contact.firstName}}, I noticed your great work at {{contact.company}}. Would love to connect and discuss potential synergies between our companies."
}
}
],
"meta": {
"orgId": "0f555e9d-…",
"teamId": "77e415c0-…",
"userId": "a9c6d42b-…",
"ownerId": "a9c6d42b-…",
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z",
"createdBy": "a9c6d42b-…",
"updatedBy": "db7f9812-…"
}
}'
Copy
{
"id": "123",
"name": "Sales Outreach 2024",
"status": "Active",
"isArchived": false,
"version": 7,
"scheduleId": "456",
"emailAccounts": [
{
"id": "e17b…",
"address": "sales@company.com"
},
{
"id": "d9ab…",
"address": "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": {
"id": 456,
"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"
}
},
{
"id": 43432,
"type": "LinkedIn",
"number": 2,
"delayInMinutes": 2880,
"executionMode": "Automatic",
"actionType": "Message",
"data": {
"content": "Hi {{contact.firstName}}, I noticed your great work at {{contact.company}}. Would love to connect and discuss potential synergies between our companies."
}
}
],
"meta": {
"orgId": "0f555e9d-…",
"teamId": "77e415c0-…",
"userId": "a9c6d42b-…",
"ownerId": "a9c6d42b-…",
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z",
"createdBy": "a9c6d42b-…",
"updatedBy": "db7f9812-…"
}
}
Assistant
Responses are generated using AI and may contain mistakes.