---
title: "List Threads By Visibility"
method: GET
path: "/api/v1/mail/threads"
tags: ["Threads"]
---

# List Threads By Visibility

`GET /api/v1/mail/threads`

## Query parameters

- `mailbox_id` string, uuid, nullable
- `folder` 'inbox' | 'spam' | 'blocked' | 'archive'
- `cursor` string, nullable
- `limit` integer

## Response `200`

Successful Response

- CursorPageThreadResponse
  - `items` ThreadResponse[], required
    - `id` string, uuid, required
    - `mailbox_id` string, uuid, required
    - `subject` string, nullable, required
    - `folder` 'inbox' | 'spam' | 'blocked' | 'archive', required
    - `message_count` integer, required
    - `last_message_at` string, date-time, required
    - `created_at` string, date-time, required
  - `next_cursor` string, nullable
  - `has_more` boolean

## Other responses

- `422` — Validation Error
- `4XX` — Client error with Support Agent information.
- `5XX` — Server error with Support Agent information.

---

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