Create a push notification
Create a push notification.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
POST
/groups/{groupId}/apps/{appId}/push/notifications
curl \
--request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/push/notifications' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"label":"string","message":"string","topic":"string","state":"sent"}'
Request examples
{
"label": "string",
"message": "string",
"topic": "string",
"state": "sent"
}