Send Push Notification
Sends an iOS/Android Push Notification to a specific user, if that user’s device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| PushNotEnabledForAccount | 1094 |
| PushServiceError | 1095 |
Authorizations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Body
PlayFabId of the recipient of the push notification.
Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver to custom plugin logic, fields, or functionality not natively supported by PlayFab.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Text of message to send.
Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details.
Subject of message to send (may not be displayed in all platforms)
Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms.
ApplePushNotificationService, GoogleCloudMessaging 