FIREANIME API
Browse API97 operations
POST

GetUnreadCount

GetUnreadCount returns the total number of notifications that haven't been read by the user.

/api.v1.notification.NotificationService/GetUnreadCount Bearer required
01

Request

GetUnreadCountRequest

GetUnreadCountRequestapi.v1.notification.GetUnreadCountRequest0 fields

GetUnreadCountRequest is currently empty, used for future-proofing.

No fields — send an empty JSON object.
Request JSON
{}
02

Response

GetUnreadCountResponse

GetUnreadCountResponseapi.v1.notification.GetUnreadCountResponse2 fields

GetUnreadCountResponse contains the total number of unread alerts.

count
int32

Total count of unread notifications.

unreadReleaseCount
int32

Total count of unread release events from active subscriptions.

Example response
{
  "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.