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

# List session addresses

> Returns all addresses in the current browser session (up to 3) and which one is active. Session endpoints are cookie-based and designed for browser clients — for API automation, track JWTs per address directly.



## OpenAPI

````yaml /openapi.json get /api/session/addresses
openapi: 3.1.0
info:
  title: TempInbox API
  description: >-
    REST API for TempInbox (tempinbox.dev) — create temporary email inboxes,
    receive mail, and automate email verification workflows. Receive-only:
    outbound sending is not supported. Rate limits apply per IP, per path;
    exceeded requests return 429.
  version: 1.0.0
  contact:
    url: https://tempinbox.dev
servers:
  - url: https://tempinbox.dev
    description: Public instance
security:
  - bearerAuth: []
paths:
  /api/session/addresses:
    get:
      tags:
        - Session
      summary: List session addresses
      description: >-
        Returns all addresses in the current browser session (up to 3) and which
        one is active. Session endpoints are cookie-based and designed for
        browser clients — for API automation, track JWTs per address directly.
      operationId: listSessionAddresses
      responses:
        '200':
          description: Session addresses
          content:
            application/json:
              schema:
                type: object
                properties:
                  addresses:
                    type: array
                    items:
                      type: object
                      properties:
                        address:
                          type: string
                          example: swift-cloud-7x4@tempinbox.dev
                        createdAt:
                          type: integer
                          example: 1748426400000
                  activeAddress:
                    type: string
                    example: rain-forest-9p2@tempinbox.dev
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - sessionCookie: []
components:
  responses:
    RateLimited:
      description: >-
        Per-IP, per-path rate limit exceeded. Back off exponentially; poll no
        faster than every 2–3 seconds.
      content:
        text/plain:
          schema:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Address-bound JWT. Returned by POST /api/new_address, or copy it from
        the browser (DevTools → Application → Cookies → jwt) for automation.
    sessionCookie:
      type: apiKey
      in: cookie
      name: session_id
      description: HMAC-signed browser session cookie. Browser clients only.

````