Skip to main content
PATCH
Update a push campaign draft

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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