Campaign
Patch campaign
Changed onRequires one of the following scopes: campaigns:update, campaigns:all, all:update, all:all
patch/api/v2/campaigns/{id}
Request
- Base URLhttps://api.instantly.ai
- URLhttps://api.instantly.ai/api/v2/campaigns/{id}
- AuthHTTP bearer
Path parameters
idstring uuid required
Example:01a19e6d-90d1-7ca7-b39e-13e7f790352f
The ID of the item to update
Request body
Example request
{
"name": "My First Campaign",
"pl_value": 100,
"campaign_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
}
]
}
]
}
],
"email_gap": 10,
"random_wait_max": 10,
"email_list": [
"john@doe.com"
],
"daily_limit": 100,
"email_tag_list": [
"01a19e6d-5094-70b9-bca7-07477d638a7c"
],
"link_tracking": true,
"open_tracking": true,
"daily_max_leads": 100,
"auto_variant_select": {
"trigger": "click_rate"
},
"limit_emails_per_company_override": {
"mode": "custom",
"daily_limit": 3,
"scope": "per_campaign"
},
"cc_list": [
"john@doe.com"
],
"bcc_list": [
"john@doe.com"
],
"owned_by": "01a19e6d-5094-70b9-bca7-074950cba641",
"provider_routing_rules": [
{
"action": "send",
"recipient_esp": [
"all"
],
"sender_esp": [
"all"
]
}
]
}Response
The updated Campaign
Example response
{
"id": "01a19e6d-5094-70b9-bca7-074638abb50b",
"name": "My First Campaign",
"pl_value": 100,
"status": 1,
"campaign_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
}
]
}
]
}
],
"timestamp_created": "2026-11-02T22:42:06.612Z",
"timestamp_updated": "2026-11-02T22:42:06.612Z",
"email_gap": 10,
"random_wait_max": 10,
"email_list": [
"john@doe.com"
],
"daily_limit": 100,
"email_tag_list": [
"01a19e6d-5094-70b9-bca7-07477d638a7c"
],
"link_tracking": true,
"open_tracking": true,
"daily_max_leads": 100,
"auto_variant_select": {
"trigger": "click_rate"
},
"not_sending_status": 2,
"limit_emails_per_company_override": {
"mode": "custom",
"daily_limit": 3,
"scope": "per_campaign"
},
"cc_list": [
"john@doe.com"
],
"bcc_list": [
"john@doe.com"
],
"organization": "01a19e6d-5094-70b9-bca7-07485c0d0e79",
"owned_by": "01a19e6d-5094-70b9-bca7-074950cba641",
"created_by": "01a19e6d-5094-70b9-bca7-074a1bbf7ed3",
"ai_sdr_id": "01a19e6d-5094-70b9-bca7-074b0af0c37e",
"provider_routing_rules": [
{
"action": "send",
"recipient_esp": [
"all"
],
"sender_esp": [
"all"
]
}
]
}Changes
- warning
the
////request property's max was set to527040.00 - warning
the
////request property's max was set to527040.00 - warning
the
////request property's min was set to0.00 - warning
the
////request property's min was set to0.00 - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- warning