Return a list of notification topics

GET /messaging/topics/list

When sending push notifications, this is the list of available topics.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • topics array[object]
      Hide topics attributes Show topics attributes object
      • key string

        The internal unique code for this site and topic

      • label string

        The label shown to users

GET /messaging/topics/list
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/messaging/topics/list \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "topics": [
    {
      "key": "demo-GeneralNotification_0",
      "label": "General Notifications"
    }
  ]
}