/
v3.0.11Get access

markAsReadNotification

Marks one or more notifications as read for the current user. It updates the read status of specified notifications so they no longer appear as unread and can be filtered or hidden in the UI. It is used when users open or dismiss notifications, when clearing the unread badge, and when syncing read state across devices.

Request parameters:

NameDescriptionTypeValuesDefaultSource
notificationId
The unique identifier of the notification to mark as readnumber--
Key from responseobject key

Call example:

markAsReadNotification({
  notificationId: 1234567
})

Response examples:

{
  code: 0,
  rid: 1711167067,
  data: {
    result: 0,
    result_text: null,
    details: null
  }
}