Dev's NoxDev's Nox
Notifications

Mark all notifications as read

Mark all unread notifications for the authenticated user as seen.

POST
/api/notifications/read-all

Authorization

bearer
AuthorizationBearer token

User session token. Obtained from POST /api/auth/login.

In: header

Response Body

application/json

curl -X POST "https://loading/api/notifications/read-all"
{
  "data": {
    "success": true
  },
  "error": null,
  "time": 1680000000000,
  "request": "/api/endpoint"
}