List push notifications

GET /groups/{groupId}/apps/{appId}/push/notifications

Path parameters

Query parameters

  • state string

    Only list notifications with the given state.

    Values are sent or draft.

Responses

  • 200 application/json

    Successfully listed.

    Hide response attributes Show response attributes object
    • allowed_ips string
    • appID string
    • label string
    • message string
    • topic string
    • created string
    • sent string
    • state string

      Values are sent or draft.

GET /groups/{groupId}/apps/{appId}/push/notifications
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/push/notifications' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "allowed_ips": "string",
    "appID": "string",
    "label": "string",
    "message": "string",
    "topic": "string",
    "created": "string",
    "sent": "string",
    "state": "sent"
  }
]