---
title: "List archived emails for a mailbox"
method: GET
path: "/api/system-admin/inbox"
tags: ["Email - System Admin Inbox"]
---

# List archived emails for a mailbox

`GET /api/system-admin/inbox`

List a mailbox.

`folder` now carries a validation pattern — an unknown value used to return
an empty list rather than a 400, which is indistinguishable from an empty
folder.

Both `scope` and the widened `search` default to the previous behaviour, so
this endpoint can ship before the frontend that uses them.

## Query parameters

- `mailbox` string — Mailbox key
- `page` integer
- `page_size` integer
- `search` string, nullable — Terms AND-ed across subject / from / to / cc / preview
- `direction` string, nullable
- `folder` string, nullable
- `starred_only` boolean
- `unread_only` boolean
- `has_attachments_only` boolean
- `since` string, date-time, nullable
- `label_id` integer, nullable
- `group_by_thread` boolean
- `scope` string — 'folder' (default) honours folder+direction; 'all' searches every folder except trash/spam.

## 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)
