Count unread notifications

Counts unread active notifications, optionally returning counts grouped by the notification methods selected in the frontend.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Query parameters

typeenumRequired

Selects all unread notifications or method-grouped counts.

Allowed values:
method_ids[]list of integersOptional
Notification method identifiers used when type is methods.

Response

The response contains the unread total and method map when requested.

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error