Skip to main content

Get Unseen Notifications

This endpoint retrieves the number of unseen/unread notifications.

info

This operation requires authentication

HTTP Request

GET /api/v2/notification/unseen/count/

Example Request

const headers = {
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/notification/unseen/count/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"count": "integer"
}