POST
GetUnreadCount
GetUnreadCount returns the total number of notifications that haven't been read by the user.
/api.v1.notification.NotificationService/GetUnreadCount Bearer required01
Request
GetUnreadCountRequest
GetUnreadCountRequestapi.v1.notification.GetUnreadCountRequest0 fields
GetUnreadCountRequest is currently empty, used for future-proofing.
No fields — send an empty JSON object.
{}02
Response
GetUnreadCountResponse
GetUnreadCountResponseapi.v1.notification.GetUnreadCountResponse2 fields
GetUnreadCountResponse contains the total number of unread alerts.
countint32Total count of unread notifications.
unreadReleaseCountint32Total count of unread release events from active subscriptions.
{
"count": 1,
"unreadReleaseCount": 1
}03
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.