curl --location --request PATCH 'https://api.plusvibe.ai/api/v1/campaign/update/campaign' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"workspace_id": "68626ec969bf94f59f8c5c9d",
"campaign_id": "68626ec969bf94f59f8c5c9e",
"camp_name": "New Campaign Name",
"status": "PAUSED",
"schedules": [
{
"daily_limit": 1000,
"daily_limit_new_lead": 500,
"start_date": "2025-08-10",
"end_date": "",
"days": {
"1": true,
"2": true,
"3": true,
"4": true,
"5": true
},
"timezone": "Asia/Hong_Kong",
"timing": {
"from": "09:00",
"to": "18:00"
}
}
],
"sequences": [
{
"step": 1,
"wait_time": 1,
"variations": [
{
"variation": "A",
"subject": "this is step 1A Subject",
"name": "",
"body": "<div>this is step 1A body</div>"
},
{
"variation": "B",
"subject": "this is step 1B Subject",
"name": "",
"body": "<div>this is step 1B body</div>"
}
]
},
{
"step": 2,
"wait_time": 1,
"variations": [
{
"variation": "A",
"subject": "",
"name": "",
"body": "<div>this is step 2A body</div>"
}
]
}
],
"first_wait_time": 60,
"email_accounts": [
"68626ec969bf94f59f8c5c5e",
"68626ec969bf94f59f8c5c2e"
],
"send_priority": 1,
"ignore_mailbox_limit": 0,
"bounce_rate_limit": 5,
"opportunity_val": 1000,
"template_id": "68626ec969bf94f59f8c5c3e",
"unlink_template": "no",
"stop_on_lead_replied": "yes",
"is_emailopened_tracking": "yes",
"is_unsubscribed_link": "no",
"send_as_txt": "no",
"exclude_ooo": "yes",
"is_acc_based_sending": "no",
"is_pause_on_bouncerate": "yes",
"send_risky_email": "no",
"unsub_blocklist": "no",
"other_email_acc": "no",
"is_esp_match": "yes"
}'