Skip to content

Get Unread Count

GET
/api/canvas/notifications/unread-count
curl --request GET \
--url https://example.com/api/canvas/notifications/unread-count \
--header 'Authorization: Bearer <token>'

Fast unread notification count for the current user.

Called on page load to populate the notification bell badge without loading the full notification list.

Successful Response

Media type application/json
UnreadCountResponse
object
unread_count
required
Unread Count
integer
Example generated
{
"unread_count": 1
}