Pusher Beams
Introduction
Pusher Beams can be used to send to either the users or to the interests. At least one mode
out of web, apns or fcm is required.
Send to interests
{
"event": "<COURIER_NOTIFICATION_ID>",
"recipient": "my-recipient",
"profile": {
"pusherBeams": {
"interests": ["interest-1", "interest-2"],
"mode": ["apns", "fcm"]
}
}
}
Send to users
{
"event": "<COURIER_NOTIFICATION_ID>",
"recipient": "my-recipient",
"profile": {
"pusherBeams": {
"userIds": ["interest-1", "interest-2"],
"mode": ["apns", "fcm"]
}
}
}