Skip to main content

Get the counts for unread notifications of the user

GET/v2/notification-unread-counts/
API version
v2
Request method
GET
Operation ID
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

No request parameters.

Responses

Format
application/json
Description

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