AlphaAlpha Docs
API ReferenceNotification

Mark notifications as read

Marks notifications as seen

POST
/notifications/mark-read
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/notifications/mark-read" \  -H "Content-Type: application/json" \  -d '[    "string"  ]'
[
  {
    "actionUrl": "string",
    "body": "string",
    "category": "ERP",
    "created": "2019-08-24T14:15:22Z",
    "emailSent": true,
    "emailSentAt": "2019-08-24T14:15:22Z",
    "id": "string",
    "isRead": true,
    "metadata": {
      "property1": null,
      "property2": null
    },
    "notificationType": "ALERT",
    "read": true,
    "scope": "string",
    "sender": "string",
    "showInApp": true,
    "tenantId": "string",
    "title": "string",
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string",
    "userId": "string"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}