Skip to main content
PATCH
Update a campaign

Authorizations

Authorization
string
header
required

A ManyPI API key (mpi_...) from the profile menu → API Access in the dashboard, or an OAuth 2.1 access token obtained through the MCP consent flow.

Body

application/json
id
string<uuid>
required
status
enum<string>

active resumes a paused campaign. A draft cannot be set active or archived here.

Available options:
active,
paused,
archived
name
string
Maximum string length: 120
reply_to
string<email>
daily_limit
integer
Required range: 1 <= x <= 2000
priority
integer
Required range: 1 <= x <= 10
sequence_id
string<uuid> | null
smtp_config_ids
string<uuid>[]

Replace the inboxes it sends from. The first is the primary.

Maximum array length: 25
inbox_strategy
enum<string>
Available options:
single,
rotate,
round_robin,
provider_match
include_unsubscribe
boolean
stop_on_reply
boolean
schedule_enabled
boolean
send_days
integer[]
Required range: 0 <= x <= 6
send_from
string

Local time, HH:MM. An invalid value is dropped.

send_to
string

Local time, HH:MM. An invalid value is dropped.

timezone
string
track_opens
boolean
send_in_lead_timezone
boolean
unsubscribe_header
boolean
track_clicks
boolean

Response

The updated campaign.

campaign
object