Sends a push notification to selected mobile app instances.
POST {{baseUrl}}/multicastPushNotificationJobs
Publishes the notification via Mobile Push to the selected mobile app instances. The developer can choose to address recipients using their mobile device ids or using the recipient's email address. When a recipient is addressed using their email address, the Notification Service sends the notifications to all app instances registered with that email address. Templates can be used for sending messages, in which case the specific template id can be passed to this API along with specific values for template parameters. If message and template, both are specified, message attribute will be used for sending Push notification.
Request Body
{"mobileAppId"=>"<string>", "recipients"=>{"appInstanceIds"=>["<string>", "<string>"], "userEmailAddresses"=>["<email>", "<email>"]}, "message"=>{"title"=>"<string>", "text"=>"<string>"}, "templateId"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |