Zum Hauptinhalt springen

Get the counts for unread notifications of the user

GET/notification-unread-counts/
v2
GET
notifications-count-unread-notifications

The user is determined by the access token used. Lighter weight route instead of getting all unread notifications and count yourself.

Request

Keine Request-Parameter.

Responses

application/json

Counts of unread notifications

  • errorinteger (≥ 0)
    required
  • infointeger (≥ 0)
    required
  • successinteger (≥ 0)
    required
  • totalinteger (≥ 0)
    required
  • warninginteger (≥ 0)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/notification-unread-counts