FIREANIME API
Browse API97 operations
POST

MarkAsRead

MarkAsRead updates the status of specific notifications or all notifications to "read".

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

Request

MarkAsReadRequest

MarkAsReadRequestapi.v1.notification.MarkAsReadRequest2 fields

MarkAsReadRequest specifies which notifications to acknowledge.

idsarray
uint32[]

List of notification IDs to mark as read.

all
bool

If true, marks every notification for the authenticated user as read.

Request JSON
{
  "ids": [
    1
  ],
  "all": false
}
02

Response

MarkAsReadResponse

MarkAsReadResponseapi.v1.notification.MarkAsReadResponse1 fields

MarkAsReadResponse confirms the update.

message
string

A descriptive message indicating the result.

Example response
{
  "message": "success"
}
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.