> ## Documentation Index
> Fetch the complete documentation index at: https://openmail-docs-reputation-lifecycle-webhooks.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List threads

> List threads for an inbox. Use is_read to filter by read status — for example, ?is_read=false returns only unread threads.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/inboxes/{id}/threads
openapi: 3.0.3
info:
  title: OpenMail API
  description: >-
    Email infrastructure API for AI agents. Create inboxes, send and receive
    email, and get real-time notifications via webhooks.
  version: 1.0.0
  license:
    name: Proprietary
servers:
  - url: https://api.openmail.sh
security:
  - bearerAuth: []
paths:
  /v1/inboxes/{id}/threads:
    get:
      summary: List threads
      description: >-
        List threads for an inbox. Use is_read to filter by read status — for
        example, ?is_read=false returns only unread threads.
      operationId: listThreads
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            maximum: 100
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
        - name: is_read
          in: query
          schema:
            type: boolean
          description: >-
            Filter by read status. true = read threads only, false = unread
            threads only. Omit to return all.
      responses:
        '200':
          description: List of threads
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Thread'
                  total:
                    type: integer
components:
  schemas:
    Thread:
      type: object
      properties:
        id:
          type: string
        subject:
          type: string
        isRead:
          type: boolean
          description: >-
            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:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        messageCount:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````