Skip to content

Count unread notifications

GET
/api/v1/notifications/unread-count
curl --request GET \
--url https://trongas.ai/api/v1/notifications/unread-count \
--header 'X-Api-Key: <X-Api-Key>'

Number of unread notifications. Cheap enough to poll for a badge.

OK

object
unread
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/