Notifications
Mark notification as read
Mark a notification as seen by the authenticated user.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Path Parameters
key*string
Response Body
application/json
application/json
curl -X POST "https://loading/api/notifications/string/read"{
"data": {},
"error": null,
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}