Newer Version Available
Push Notifications Resource
Send a mobile push notification to client apps on users’
devices. This resource is only accessible when the session is established with a client app
that is developed in the same org or installed in the same package as the
recipient’s client app.
- Resource
-
- Available version
- 31.0
- HTTP methods
- POST
- Request body for POST
-
- Root XML tag
- <pushNotification>
- JSON example
-
- Properties
-
- Request parameters for POST
-
Parameter Name Type Description Required or Optional Available Version appName String The API name of the client app that the push notification is sent to. Required 31.0 namespace String The namespace of the client app that the push notification is sent to. Required if the namespace is set 31.0 payload String The push notification payload in JSON format. Required 31.0 userIds String[] The push notification recipient user ids. Required 31.0