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

# List emails

> List team messages and delivery status. Use cursors for pagination.

Required permission: `emails:read`.



## OpenAPI

````yaml /openapi.json get /emails
openapi: 3.1.0
info:
  title: Moonemail API
  version: 0.1.0
  description: >-
    Generated request, response and authorization contract. Covers authenticated
    product endpoints, not public discovery, dashboard assets or Stripe inbound
    webhooks. Go handlers enforce state-dependent and cross-field business
    validation.
servers:
  - url: https://api.moonemail.co
security: []
paths:
  /emails:
    get:
      tags:
        - Emails
      summary: List emails
      description: |-
        List team messages and delivery status. Use cursors for pagination.

        Required permission: `emails:read`.
      operationId: list_emails
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
        - name: after
          in: query
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 200
        - name: before
          in: query
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 200
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    const: list
                  has_more:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        message_id:
                          type:
                            - string
                            - 'null'
                        to:
                          type: array
                          items:
                            type: string
                        from:
                          type: string
                        created_at:
                          type: string
                        subject:
                          type: string
                        bcc:
                          type: array
                          items:
                            type: string
                        cc:
                          type: array
                          items:
                            type: string
                        reply_to:
                          type: array
                          items:
                            type: string
                        last_event:
                          type: string
                          enum:
                            - queued
                            - scheduled
                            - sent
                            - delivered
                            - delivery_delayed
                            - complained
                            - bounced
                            - opened
                            - clicked
                            - failed
                            - canceled
                            - suppressed
                        scheduled_at:
                          type:
                            - string
                            - 'null'
                      required:
                        - id
                        - message_id
                        - to
                        - from
                        - created_at
                        - subject
                        - bcc
                        - cc
                        - reply_to
                        - last_event
                        - scheduled_at
                      additionalProperties: true
                required:
                  - object
                  - has_more
                  - data
                additionalProperties: true
        default:
          description: API error
          content:
            application/json:
              schema:
                type: object
                required:
                  - statusCode
                  - name
                  - message
                properties:
                  statusCode:
                    type: integer
                  name:
                    type: string
                  message:
                    type: string
      security:
        - bearerKey: []
components:
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: Moonemail API key; x-required-scope applies.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.