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

# Create Mailbox

> Creates a detached mailbox (not yet attached to an identity). Useful for revealing an
inbox address before identity creation, then attaching it via the identity API.




## OpenAPI

````yaml /openapi.yaml post /v1/mailboxes
openapi: 3.1.0
info:
  title: AnchorBrowser API
  version: 1.0.0
  description: APIs to manage all browser-related actions and configuration.
servers:
  - url: https://api.anchorbrowser.io
    description: API server
security: []
paths:
  /v1/mailboxes:
    post:
      tags:
        - Identities
      summary: Create Mailbox
      description: >
        Creates a detached mailbox (not yet attached to an identity). Useful for
        revealing an

        inbox address before identity creation, then attaching it via the
        identity API.
      responses:
        '201':
          description: Mailbox created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Mailbox'
        '500':
          description: Failed to create mailbox.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlatErrorResponse'
      security:
        - api_key_header: []
components:
  schemas:
    Mailbox:
      type: object
      description: >-
        An Anchor-managed email inbox used for email-based authentication (OTP,
        magic links).
      properties:
        id:
          type: string
          format: uuid
        address:
          type: string
          description: The mailbox email address.
    FlatErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
        code:
          type: integer
          description: HTTP status code.
      required:
        - error
  securitySchemes:
    api_key_header:
      type: apiKey
      in: header
      name: anchor-api-key
      description: API key passed in the header

````