Update Campaign
Updates the fields you send and keeps the others. Only a draft or scheduled campaign can change. The change shows live to anyone who has the campaign open. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.
{ "id": "cpg_06d2mfk8r7hm4ps9wb2kd", "name": "October product update", "status": "draft", "from": "Acme <hello@acme.dev>", "reply_to": null, "subject": "Scheduled sends are here", "preheader": "Scheduled sends are here", "html": "<!DOCTYPE html><html>…</html>", "text": "Hi Suhasinee, scheduled sends are here…", "template_id": null, "template": null, "include_segment_ids": [ "seg_06d2mfk8r2kd7fq4mx9ab" ], "include_segments": [ { "id": "seg_06d2mfk8r2kd7fq4mx9ab", "name": "Customers" } ], "exclude_segment_ids": [], "exclude_segments": [], "topic_id": "top_06d2mfk8r6pn2tc8yw3hd", "topic": { "id": "top_06d2mfk8r6pn2tc8yw3hd", "name": "Product updates" }, "audience_count": null, "queued_count": 0, "skipped_count": 0, "paused_reason": null, "failure_reason": null, "scheduled_at": null, "started_at": null, "completed_at": null, "warmup_next_limit": null, "created_at": "2026-10-21T09:00:00.000Z", "updated_at": "2026-10-21T09:00:00.000Z" }
Returns the updated campaign.
Path Parameters
The campaign id.
Body Parameters
The campaign name, 1 to 200 characters.
The from address, up to 320 characters. It must be on a verified domain before you send.
The reply-to address. Send null to clear it.
The subject, up to 998 characters, without line breaks.
The preview text, up to 500 characters, without line breaks.
The email as HTML. Inboxjot turns it into editor content, so the campaign stays editable in the dashboard.
The editor document, as the dashboard saves it. Most callers send html instead. When you send both, html wins.
A template to start from. Send null to unlink it. It must exist.
The segments to send to, up to 50. Each one must exist.
The segments to leave out, up to 50.
The topic the campaign is about. Only contacts subscribed to it get the campaign. Defaults to the default topic.
Response
The campaign id.
The campaign name.
draft, scheduled, sending, paused, failed, sent or canceled.
The from address.
The reply-to address.
The subject.
The preview text.
The rendered HTML, or null before there is content.
The plain text version.
The id of the linked template.
The linked template.
The ids of the segments it sends to.
The segments it sends to.
The ids of the segments it leaves out.
The segments it leaves out.
The id of the topic.
The topic.
How many contacts the campaign goes to, once it starts.
Emails queued so far.
Contacts skipped, such as suppressed addresses.
Why a paused campaign stopped: manual, daily_limit, warmup, sending_paused or domain_unverified.
Why a failed campaign stopped.
When a scheduled campaign starts.
When sending started.
When sending finished.
The daily limit of the next warmup step when domain warmup paused the campaign, otherwise null.
When it was created.
When it last changed.