Skip to main content
POST
Mark notifications as viewed. When no ids are provided, marks all of the authenticated user's notifications as viewed.

Authorizations

Authorization
string
header
required

Rocksky bearer token.

Body

application/json
ids
string[]

The ids of the notifications to mark as viewed. Omit to mark all.

Response

Success

unreadCount
integer
required

The number of unread notifications remaining.