Skip to main content
PATCH
Update a push 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
environment
enum<string>
Available options:
production,
development
messages
object[]
Required array length: 1 - 20 elements
audience
object
platforms
object
mode
enum<string>
Available options:
standard,
live_activity
buttons
object[]
Maximum array length: 3
template_version_id
string<uuid> | null
android_config
object
live_activity_config
object | null

Response

Push campaign draft updated

status
integer
required

HTTP response status code

data
object
required