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

# Список писем

> Письма ящика, новые первыми. Только краткие данные — текст и HTML отдаёт [Получить письмо](/api-reference/mail/get-message). Письма не отмечаются прочитанными.



## OpenAPI

````yaml /openapi.json get /api/mail/mailboxes/{address}/messages
openapi: 3.1.0
info:
  title: Taimly API
  version: 1.3.0
  description: >-
    API Taimly: проверка доставляемости email (Spam Check) и временные почты для
    приёма писем.
servers:
  - url: https://taimly.net
    description: Production
security:
  - BearerAuth: []
paths:
  /api/mail/mailboxes/{address}/messages:
    get:
      tags:
        - Временные почты
      summary: Список писем
      description: >-
        Письма ящика, новые первыми. Только краткие данные — текст и HTML отдаёт
        [Получить письмо](/api-reference/mail/get-message). Письма не отмечаются
        прочитанными.
      operationId: listMessages
      parameters:
        - name: address
          in: path
          required: true
          description: >-
            Адрес ящика. Регистр и `+тег` не важны: `Anna+github@example.com` —
            это ящик `anna@example.com`.
          schema:
            type: string
            format: email
            example: anna.smith42@example.com
        - name: limit
          in: query
          required: false
          description: Сколько писем вернуть, от 1 до 200
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: offset
          in: query
          required: false
          description: Сколько писем пропустить
          schema:
            type: integer
            minimum: 0
            default: 0
        - name: since
          in: query
          required: false
          schema:
            type: string
            example: '2026-10-26T12:00:00Z'
          description: >-
            Только письма, полученные после этого момента: unix-время или ISO
            8601 (без часового пояса — UTC)
      responses:
        '200':
          description: Письма
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageListResponse'
              example:
                messages:
                  - id: 9f2c4e1a7b3d5f60
                    to: anna.smith42+github@example.com
                    from_name: GitHub
                    from_email: noreply@github.com
                    subject: '[GitHub] Please verify your device'
                    intro: >-
                      Verification code: 482913. If you did not attempt to sign
                      in…
                    code: '482913'
                    has_attachments: false
                    size: 14820
                    seen: false
                    received_at: '2026-10-26T12:03:41Z'
        '400':
          description: Неверный `since`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                detail: 'since: unix time or ISO 8601 expected'
        '401':
          description: Невалидный или отсутствующий API-ключ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                detail: Invalid or missing API key
        '404':
          description: Ящик не найден или принадлежит другому пользователю
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                detail: Mailbox not found
components:
  schemas:
    MessageListResponse:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Описание ошибки
    Message:
      type: object
      properties:
        id:
          type: string
          description: Идентификатор письма
        to:
          type:
            - string
            - 'null'
          description: Адрес, на который пришло письмо, вместе с `+тегом`
        from_name:
          type:
            - string
            - 'null'
          description: Имя отправителя
        from_email:
          type:
            - string
            - 'null'
          description: Адрес отправителя
        subject:
          type: string
          description: Тема
        intro:
          type: string
          description: Начало текста письма
        code:
          type:
            - string
            - 'null'
          description: >-
            Код подтверждения, если он найден в письме. `null` — кода нет или он
            не распознан
        has_attachments:
          type: boolean
          description: Есть ли вложения
        size:
          type: integer
          description: Размер оригинала в байтах
        seen:
          type: boolean
          description: Прочитано ли письмо
        received_at:
          type: string
          format: date-time
          description: Когда получено (UTC)
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API-ключ. Передаётся в заголовке `Authorization: Bearer <ваш_ключ>`.
        Ключ выдаётся администратором Taimly.

````

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