> ## 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 pod API keys

> List the (non-revoked) API keys scoped to this pod. Only non-secret fields are returned — the token itself is never retrievable after creation.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/pods/{id}/api-keys
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/{id}/api-keys:
    get:
      tags:
        - pods
      summary: List pod API keys
      description: >-
        List the (non-revoked) API keys scoped to this pod. Only non-secret
        fields are returned — the token itself is never retrievable after
        creation.
      operationId: listPodApiKeys
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: Pod ID or your own `clientId`
      responses:
        '200':
          description: List of API keys
          content:
            application/json:
              schema:
                description: List of API keys
                type: object
                additionalProperties: true
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKey'
        '403':
          description: The authenticating key is pod-scoped and cannot manage keys
          content:
            application/json:
              schema:
                description: The authenticating key is pod-scoped and cannot manage keys
                allOf:
                  - $ref: '#/components/schemas/Error'
        '404':
          description: Pod not found
          content:
            application/json:
              schema:
                description: Pod not found
                allOf:
                  - $ref: '#/components/schemas/Error'
components:
  schemas:
    ApiKey:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
          description: OpenMail API key ID
        name:
          type: string
          description: Human-readable label for the key, if set.
          nullable: true
        podId:
          type: string
          description: >-
            ID of the pod this key is scoped to. A key can only access resources
            in this pod.
          nullable: true
        tokenPrefix:
          type: string
          description: Non-secret leading characters of the token, to help you identify it.
        last4:
          type: string
          description: Last 4 characters of the token, shown alongside the prefix.
        createdAt:
          type: string
          format: date-time
        lastUsedAt:
          type: string
          format: date-time
          description: When the key last authenticated a request, or null if never used.
          nullable: true
    Error:
      type: object
      additionalProperties: true
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````