GET
/
notifications
Get Notifications
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/notifications \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "1",
    "title": "New Message",
    "message": "You have a new message from User",
    "read": false,
    "createdAt": "2025-07-10T14:30:00Z"
  },
  {
    "id": "2",
    "title": "System Update",
    "message": "Scheduled maintenance this weekend",
    "read": true,
    "createdAt": "2025-07-09T10:15:00Z"
  }
]

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

200
application/json

List of notifications

The response is of type object[].