Patch campaign subsequence
Changed onRequires one of the following scopes: subsequences:update, subsequences:all, all:update, all:all
Request
- Base URLhttps://api.instantly.ai
- URLhttps://api.instantly.ai/api/v2/subsequences/{id}
- AuthHTTP bearer
Path parameters
The ID of the item to update
Request body
Example request
{
"name": "Follow-up sequence",
"conditions": {
"crm_status": [
1
],
"lead_activity": [
4
],
"reply_contains": "yes"
},
"subsequence_schedule": {
"start_date": "2025-09-25",
"end_date": "2025-09-25",
"schedules": [
{
"name": "My Schedule",
"timing": {
"from": "09:00",
"to": "17:00"
},
"days": {
"0": true,
"1": true,
"2": true,
"3": true,
"4": true
},
"timezone": "Etc/GMT+12"
}
]
},
"sequences": [
{
"steps": [
{
"type": "email",
"delay": 2,
"delay_unit": "days",
"pre_delay": 2,
"pre_delay_unit": "days",
"variants": [
{
"subject": "Hello {{firstName}}",
"body": "Hey {{firstName}},<br/><br/>I hope you are doing well.",
"v_disabled": true
}
]
}
]
}
],
"auto_variant_select": {
"trigger": "click_rate"
},
"daily_limit_mode": "inherit",
"daily_limit": 50
}Response
The updated Campaign Subsequence
Example response
{
"id": "01a19e6d-50f5-7741-a6d5-768515075d49",
"timestamp_created": "2026-11-02T22:42:06.709Z",
"parent_campaign": "01a19e6d-50f6-7e80-bf8a-f356baecaed9",
"workspace": "01a19e6d-50f6-7e80-bf8a-f357e4b23540",
"timestamp_leads_updated": "2026-11-02T22:42:06.710Z",
"name": "Follow-up sequence",
"conditions": {
"crm_status": [
1
],
"lead_activity": [
4
],
"reply_contains": "yes"
},
"subsequence_schedule": {
"start_date": "2025-09-25",
"end_date": "2025-09-25",
"schedules": [
{
"name": "My Schedule",
"timing": {
"from": "09:00",
"to": "17:00"
},
"days": {
"0": true,
"1": true,
"2": true,
"3": true,
"4": true
},
"timezone": "Etc/GMT+12"
}
]
},
"sequences": [
{
"steps": [
{
"type": "email",
"delay": 2,
"delay_unit": "days",
"pre_delay": 2,
"pre_delay_unit": "days",
"variants": [
{
"subject": "Hello {{firstName}}",
"body": "Hey {{firstName}},<br/><br/>I hope you are doing well.",
"v_disabled": true
}
]
}
]
}
],
"auto_variant_select": {
"trigger": "click_rate"
},
"daily_limit_mode": "inherit",
"daily_limit": 50
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added 'contains' constraint to the
////response property for the status - info
removed the
-1.00enum value from the//response property for the response status - info
removed the
-2.00enum value from the//response property for the response status - info
removed the
-3.00enum value from the//response property for the response status - info
removed the
-4.00enum value from the//response property for the response status - info
removed the
0.00enum value from the//response property for the response status - info
removed the
1.00enum value from the//response property for the response status - info
removed the
2.00enum value from the//response property for the response status - info
removed the
3.00enum value from the//response property for the response status - info
removed the
4.00enum value from the//response property for the response status
- breaking