Skip to content

How many notifications you have not read

GET
/v1/notifications/unread-count
curl --request GET \
--url https://beta-api.plune.ai/v1/notifications/unread-count \
--header 'Authorization: Bearer <token>'

The number on the bell (#1063): yours, unread, in the project the request runs in. 0 for a reader.

X-Plune-Project
string

Which of your projects to act in — an id from GET /v1/projects. Absent, your default project. A project you are not a member of answers 404, the same as one that does not exist. Ignored under a bearer token, which is bound to the project it was minted in.

The count

Media type application/json
object
unread
required
integer
Example generated
{
"unread": 1
}

No / invalid token or session

The project named in X-Plune-Project is not one of yours

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}