Skip to main content

Mark Notifications as Read

This API marks one or more specific notifications as read, identified by their IDs.

Endpoint Details​

URL/v1/notifications/mark-read
MethodPOST
AuthorizationBearer Token

Request Headers​

HeaderTypeDescription
Content-TypeStringMust be application/json

Request Body​

Use the following format to make a request:

JSON Request
{
"ids": [
"363bc3b6-74eb-40df-8c1c-04ec61e1dc7a"
]
}

Parameters​

ParameterTypeDescription
idsArrayList of notification IDs to mark as read

Response​

Here is an example response after the request has been successfully processed:

Response
{
"success": true
}

Field Descriptions​

FieldTypeDescription
successBooleanIndicates whether the notifications were successfully marked as read

info
  • A valid Bearer Token is required to access this endpoint.
  • Each ID in the ids array must reference an existing notification.
  • Only the notifications specified in the request are marked as read.