Skip to main content
PATCH
Update a Push Campaign

Update a Push Campaign

Updates a draft or scheduled push campaign. Only the fields you pass change; content fields merge over the stored content. A scheduled campaign keeps its schedule, and cannot have its content cleared; unschedule it first. Requires the campaigns:write scope.

Request

string
required
The push campaign ID.
string
Campaign name.
object
Audience, same shape as campaign targetLists.
string
Notification title, up to 120 characters. Merge tags such as {{FIRST_NAME|there}} work.
string
Notification message, up to 500 characters. Merge tags work.
string | null
Link opened on tap: an https URL, an app deep link (myapp://...), or a merge tag. Browsers only open https links. null clears it.
string | null
Optional https image shown in the notification.
string | null
Optional https icon for web push. Defaults to the icon in push settings.
string[]
Limit delivery to web, ios, and/or android. Omit or pass [] for every platform.

Responses