e33adbfca4e8

latestOpenAPI 3.0.02026-08-13154102760.0 KB
Notifications

Marks one of your notifications as read

read_at defaults to the current time when omitted.

put/notifications/{notification}/mark-read

Path parameters

notificationinteger required

Notification id

Request body

read_atstring date-time

read_at

Response

Notification

Example response

{
  "data": {
    "id": 1,
    "employee_id": 1,
    "causer_id": 1,
    "type": "App\\Notifications\\ToEmployee\\Assignment\\AssignedNotification",
    "first_line": "1"
  }
}