Skip to content

Notifications

GET /api/notification/unread

Get all unread notifications for the current user.

Response

A list of notification objects.

GET /api/notification/markAllAsSeen

Mark all notifications for the current user as seen.

POST /api/notification

Update an existing notification (e.g. mark as read, update status).

Request

Body

A notification object with the fields to update:

{
"id": string,
"status": string
}

Response

The updated notification object.

DELETE /api/notification/{notificationID}

Delete a notification.

Request

Path parameters

  • notificationID ID of the notification