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

# List email outbox

> Lists all emails in the outbox with optional filtering by status, simple_status, or user_id.



## OpenAPI

````yaml /openapi/server.json get /emails/outbox
openapi: 3.1.0
info:
  title: Hexclave REST API
  version: 1.0.0
  description: >-
    The Hexclave REST API. All request headers are documented as canonical
    `X-Hexclave-*`; the equivalent `X-Stack-*` aliases are accepted on every
    endpoint for backwards compatibility. Response headers
    `X-Hexclave-actual-status`, `X-Hexclave-known-error`, and
    `X-Hexclave-request-id` are emitted alongside their legacy `X-Stack-*`
    equivalents.
servers:
  - url: https://api.hexclave.com/api/v1
    description: Hexclave REST API
security: []
paths:
  /emails/outbox:
    get:
      tags:
        - Emails
      summary: List email outbox
      description: >-
        Lists all emails in the outbox with optional filtering by status,
        simple_status, or user_id.
      parameters:
        - name: status
          in: query
          schema:
            type: string
          required: false
        - name: simple_status
          in: query
          schema:
            type: string
          required: false
        - name: user_id
          in: query
          schema:
            type: string
            description: Filter for emails whose recipient is the given user ID.
          description: Filter for emails whose recipient is the given user ID.
          required: false
        - name: limit
          in: query
          schema:
            type: string
            description: The maximum number of items to return. Maximum allowed is 100
          description: The maximum number of items to return. Maximum allowed is 100
          required: false
        - name: cursor
          in: query
          schema:
            type: string
            description: The cursor to start the result set from (email ID)
          description: The cursor to start the result set from (email ID)
          required: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                  pagination:
                    type: object
                    properties:
                      next_cursor:
                        type: string
                        example: b3d396b8-c574-4c80-97b3-50031675ceb2
                        description: >-
                          The cursor to fetch the next page of results. null if
                          there is no next page.
                    required: []
                required:
                  - items

````