---
title: "Get notification statistics"
method: GET
path: "/notifications/statistics"
tags: ["Notifications"]
---

# Get notification statistics

`GET /notifications/statistics`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/notifications/statistics`
- Auth: API key in header `x-auth-token`

Get notification statistics (unread and unconfirmed counts) for a specific user. Users can only see their own statistics unless they have admin permissions.

## Query parameters

- `userId` integer

## Response `200`

Successfully retrieved notification statistics

- NotificationStatisticsDTO
  - `unreadCount` integer
  - `unconfirmedCount` integer

## Other responses

- `400`: Invalid parameters
- `403`: Access denied
- `500`: Internal server error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
