---
title: "Per-folder message + unread counts"
method: GET
path: "/api/system-admin/inbox/counts"
tags: ["Email - System Admin Inbox"]
---

# Per-folder message + unread counts

`GET /api/system-admin/inbox/counts`

Folder badges for the sidebar.

Registered BEFORE the greedy `/{message_db_id}` route at the bottom of this
module — that one is a catch-all and would otherwise swallow `/counts` and
try to parse it as an int.

## Query parameters

- `mailbox` string — Mailbox key

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
