Android Custom Push Payload Content

Use these keys and values to create custom Android push notifications for your connected app.
Available in: Lightning Experience
Connected Apps can be created in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions

Connected Apps can be installed in: All Editions


Table 1. Payload Keys
Payload Key Description Value
content

Encrypted payload content

See the Encrypted Content Keys table for content details.

AES encrypted and base64 encoded payload content
secret Symmetric encryption key RSA encrypted and base64 encoded AES key and IV bytes
encrypted Encrypted payload indicator true
Table 2. Encrypted Content Keys
Payload Key Description Value
badge Number displayed in a badge on your app’s icon Count of unseen notifications
timestamp Time notification was sent Seconds since 00:00:00 UTC on January 1, 1970
oid Organization ID ID of the org of the recipient of the notification
uid Recipient User ID ID of notification recipient
nid Notification ID ID of the notification
alert Notification alert The custom notification title is supplied as the value for this key regardless of the Enable full content push notifications setting.
alertTitle Notification alert title
  • If full content push notifications are enabled for the app: Custom notification title
  • If full content push notifications aren’t enabled for the app: Empty string
alertBody Notification alert body
  • If full content push notifications are enabled for the app: Custom notification body
  • If full content push notifications aren’t enabled for the app: Custom notification title
type Notification type class -1
sid Source ID ID of record associated with notification
rid Related ID N/A (reserved for future use)
cid Experience Cloud site ID ID of Experience Cloud site for the notification
notifType Notification type ID ID of the custom notification type