Push
Update a push campaign
Changed onUpdates 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 be cleared to empty content. Requires the campaigns:write scope.
patch/push/campaigns/{campaignId}
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/push/campaigns/{campaignId}
- AuthHTTP bearer
Path parameters
campaignIdstring required
Push campaign ID.
Request body
Example request
{
"title": "Your order shipped",
"body": "Tap to track your delivery.",
"url": "https://shop.example.com/orders"
}Response
Campaign updated
Example response
{
"success": true,
"campaign": {
"content": {
"title": "Your order shipped",
"body": "Tap to track your delivery.",
"url": "https://shop.example.com/orders"
}
}
}Changes
- info
endpoint added
- info