メインコンテンツへスキップ
POST
Send Push Notification

承認

X-SecretKey
string
header
必須

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

ボディ

application/json
Recipient
string
必須

PlayFabId of the recipient of the push notification.

AdvancedPlatformDelivery
object[]

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.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Message
string

Text of message to send.

Package
object

Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details.

Subject
string

Subject of message to send (may not be displayed in all platforms)

TargetPlatforms
enum<string>[]

Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms.

利用可能なオプション:
ApplePushNotificationService,
GoogleCloudMessaging

レスポンス

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
最終更新日 2026年10月6日