---
title: "Get Team Unread Counts Endpoint"
method: GET
path: "/notifications/team-unread-counts"
tags: ["Notifications", "notifications"]
---

# Get Team Unread Counts Endpoint

`GET /notifications/team-unread-counts`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/notifications/team-unread-counts`
- Auth: HTTP bearer

Unread notification counts bucketed by team for the authenticated user.

**Returns:**
- `counts`: map of team_id -> unread count. Teams with no unread
  notifications are omitted (treat a missing key as 0).

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- TeamUnreadCountsResponse: Unread notification counts bucketed by team_id. `counts` maps team_id -> number of unread notifications scoped to that team (via the notification's data.team_id). Teams with zero unread are omitted, so the dashboard treats a missing key as 0.
  - `counts` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
