Skip to main content

App Notifications

This section details how to send App notifications to users.

Limitations

Users will not receive notifications if they have not given the App permission to display notifications.

The Pepper platform only stores 1 notification token per user currently. If a user uses the App on different phones, only the phone that the user most recently signed into will receive the notification.

User Opt-In

For GDPR purposes, the platform keeps track in a user's record whether or not the user has opted into receiving marketing messages.

When you send a notification, you should consider whether it is a marketing message, or if it is a message that is relevant to the service the App is providing. If the latter, then you can set isProcessingMessage to true and the message will be delivered to all users with notifications enabled, even if they opted-out of receiving marketing messages.

Do not use isProcessingMessage: true for marketing messages.

Notification API

You can send messages to one or more users, users with particular favourite locations, users belonging to specific segments, or every registered user.

See the API reference Create a Notification. This is a long running operation. To inspect the status see Get Notification Message.

You can also inspect the delivery receipts for a notification using Get Notification Message Receipts.

Notification receipts are only retained for 45 days