Skip to main content
GET
/
notification-categories
List notification categories
curl --request GET \
  --url https://services.pref.rio/rmi/v1/notification-categories \
  --header 'Authorization: Bearer <token>'
{
  "categories": [
    {
      "active": true,
      "created_at": "<string>",
      "default_opt_in": true,
      "description": "<string>",
      "id": "<string>",
      "name": "<string>",
      "order": 123,
      "updated_at": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List of active categories

categories
object[]