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

> List all pods for your account. The default pod is always returned first. Supports pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/pods
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/pods:
    get:
      tags:
        - pods
      summary: List pods
      description: >-
        List all pods for your account. The default pod is always returned
        first. Supports pagination.
      operationId: listPods
      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
      responses:
        '200':
          description: List of pods
          content:
            application/json:
              schema:
                description: List of pods
                type: object
                additionalProperties: true
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Pod'
                  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:
    Pod:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
          description: OpenMail pod ID
        clientId:
          type: string
          description: Your own identifier for the pod, if set.
          nullable: true
        name:
          type: string
          description: Human-readable label, if set.
          nullable: true
        isDefault:
          type: boolean
          description: >-
            Whether this is the account's default pod. Every account has exactly
            one; it is created automatically and cannot be deleted.
        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

````