Newer Version Available
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 |
| 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 |
| 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 |
|
| alertBody | Notification alert body |
|
| type | Notification type class | -1 |
| sid | Source ID | ID of record associated with notification |
| rid | Related ID | N/A (reserved for future use) |
| cid | Community ID | ID of community for the notification |
| notifType | Notification type ID | ID of the custom notification type |