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

# List inboxes

> List all inboxes for your account. Supports pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/inboxes
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: []
tags:
  - name: pods
    description: Isolated sub-accounts for your end users or tenants
  - name: inboxes
    description: Email inboxes and their webhook configuration
  - name: messages
    description: Sending and listing messages
  - name: threads
    description: Conversation threads and read status
  - name: attachments
    description: Downloading and extracting text from attachments
paths:
  /v1/inboxes:
    get:
      tags:
        - inboxes
      summary: List inboxes
      description: List all inboxes for your account. Supports pagination.
      operationId: listInboxes
      parameters:
        - schema:
            type: integer
            default: 50
          in: query
          name: limit
          required: false
          description: Max results to return (clamped to 100)
        - schema:
            type: integer
            default: 0
          in: query
          name: offset
          required: false
          description: Number of results to skip
        - schema:
            type: string
          in: query
          name: podId
          required: false
          description: >-
            Filter to inboxes in a single pod. Accepts the pod ID or your own
            `clientId`. An unknown value returns an empty list.
      responses:
        '200':
          description: List of inboxes
          content:
            application/json:
              schema:
                description: List of inboxes
                type: object
                additionalProperties: true
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Inbox'
                  total:
                    type: integer
        '401':
          description: Missing, invalid, or expired API key
          content:
            application/json:
              schema:
                description: Missing, invalid, or expired API key
                allOf:
                  - $ref: '#/components/schemas/Error'
components:
  schemas:
    Inbox:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
          description: OpenMail inbox ID
        podId:
          type: string
          description: >-
            ID of the pod this inbox belongs to. Inboxes created without an
            explicit pod land in your account's default pod.
        address:
          type: string
          format: email
          description: Full email address
        displayName:
          type: string
          description: Sender display name
          nullable: true
        webhookUrl:
          type: string
          description: >-
            URL that receives signed webhook events for this inbox, if set.
            Overrides the account-level webhook for this inbox only.
          nullable: true
        webhookSecret:
          type: string
          description: >-
            Signing secret for this inbox's webhook. Only present in the
            response when the secret is generated or rotated (on create, on
            first setting a webhook URL, or via the rotate-secret endpoint) — it
            is never returned afterward.
          nullable: true
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      additionalProperties: true
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````