---
title: "List threads"
method: GET
path: "/v1/inboxes/{id}/threads"
tags: ["threads"]
---

# List threads

`GET /v1/inboxes/{id}/threads`

## Request

- Base URL: `https://api.openmail.sh`
- URL: `https://api.openmail.sh/v1/inboxes/{id}/threads`
- Auth: HTTP bearer

List threads for an inbox. Use isRead to filter by read status — for example, ?isRead=false returns only unread threads. (snake_case is_read is accepted as an alias.)

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `isRead` 'true' | 'false'
- `is_read` 'true' | 'false'

## Response `200`

List of threads

- object: List of threads
  - `data` Thread[]
    - `id` string
    - `subject` string
    - `isRead` boolean: Whether the thread has been marked as read. Defaults to false for new inbound threads. Auto-set to true when a reply is sent.
    - `lastMessageAt` string, date-time
    - `createdAt` string, date-time
    - `messageCount` integer
  - `total` integer

## Other responses

- `401`: Missing, invalid, or expired API key
- `404`: Inbox not found

---

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