Retrieves the count of unread notifications for the current user.
notifications:read
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/notifications/unread/count \
--header 'Authorization: Bearer <token>'
{
"count": 3
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Unread notification count
The response is of type object
.
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/notifications/unread/count \
--header 'Authorization: Bearer <token>'
{
"count": 3
}