Retrieves a list of notifications for the current user.
notifications:read
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"
}
]
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
List of notifications
The response is of type object[]
.
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"
}
]