Push notification webhooks

This page lists the currently supported Push notification webhook events and their payloads.

Push notification clicked

Attribute nameDatatypeDescription
reporting.attributionReasonStringReason for notification click
reporting.campaignIdStringCampaign ID of campaign that triggered push notification
reporting.notificationIdStringNotification ID of push notification
1{
2 "reporting": {
3 "attributionReason": "notificationOpened",
4 "campaignId": "000jdxx0063",
5 "notificationId": "01xx7yxxx5rfgh"
6 }
7}

Push subscribed

Attribute nameDatatypeDescription
subtypeStringOne of: new, moved, soft, inactivity
New: user subscribes
Moved: push token moved to that installation because user logged in
Soft: User decides to show notifications
Inactivity: Resubscribed at the end of a period of inactivity
1{"subtype":"new"}

Push unsubscribed

Attribute nameDatatypeDescription
subtypeStringOne of: new, moved, soft, inactivity
New: user subscribes
Moved: push token moved to that installation because user logged in
Soft: User decides to show notifications
Inactivity: Resubscribed at the end of a period of inactivity
1{"subtype":"new"}

Push session started

Attribute nameDatatypeDescription
reporting.attributionReasonStringReason for session start
reporting.campaignIdStringCampaign ID of campaign that triggered the push
reporting.notificationIdStringNotification ID of push notification sent
1{
2 "reporting": {
3 "attributionReason": "notificationOpened",
4 "campaignId": "000jdxx0063",
5 "notificationId": "01xx7yxxx5rfgh"
6 }
7}