Skip to main content
PATCH
Update campaign draft

Authorizations

Authorization
string
header
required

Integration key for backend workloads, or a scoped personal key (sr_user_) for account discovery and supported project operations. MCP accepts only personal keys.

Headers

X-Sendrealm-Project-Id
string<uuid>

Explicit project context. Required for personal-key project resource calls; integration keys retain their configured default. MCP clients supply project_id in each tool call instead.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
Maximum string length: 120
subject
string
Maximum string length: 998
from
object
reply_to_address
string<email> | null
audience_ids
string<uuid>[]
template_version_id
string<uuid> | null
tracking
object
Available options:
included_audiences,
all_audiences
content
object

Response

Campaign draft updated

status
integer
required

HTTP response status code

data
object
required