Skip to content

Get the unread notification count for the current user

GET
/inbox/v1/unread-count
curl --request GET \
--url https://your-notavia-host/inbox/v1/unread-count \
--header 'Authorization: Bearer <token>'

Unread count.

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

Missing or invalid credentials.

Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
nullable
Example generated
{
"error": {
"type": "example",
"code": "example",
"message": "example",
"param": "example"
}
}