Skip to main content
GET
/
v1
/
me
/
notifications
/
unread-count
Get Unread Count
curl --request GET \
  --url https://api.example.com/v1/me/notifications/unread-count \
  --header 'Authorization: Bearer <token>'
{
  "unread_count": 123,
  "by_type": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

type
string | null

Prefix filter e.g. 'prediction.alert.fired'

Response

Successful Response

unread_count
integer
required
by_type
By Type · object