Skip to main content
Mark All Notifications as Read
Marks all unread notifications as read for the currently authenticated user. Only notifications that are currently isRead: false are updated.
This endpoint requires an authenticated user. Include a valid Authorization: Bearer <accessToken> header.

Response

Returns HTTP 200 with the number of notifications that were updated:
number
The count of notifications that were updated from unread to read. Returns 0 if there were no unread notifications.
Example:

Error Responses

No Authorization header was sent. The body is text/plain, not JSON:
The header was sent but the token failed verification. Refresh the access token and retry. The body is text/plain, not JSON:

See Also