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

# List inbox emails

> List emails the project's QA.tech inbox addresses received, newest first, as OS Tools → Email shows them: body text, links and attachment names. Use it to read a sign-up confirmation, one-time code or magic link the site under test sent.



## OpenAPI

````yaml /api-reference/api.json get /v1/inbox/emails
openapi: 3.0.0
info:
  title: QA.tech API
  version: 1.0.0
  contact:
    name: QA.tech
    url: https://qa.tech
    email: support@qa.tech
  description: API for triggering and managing AI-powered test runs
servers:
  - url: https://api.qa.tech
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Runs
  - name: Infrastructure
  - name: Test Cases
  - name: Application Builds
  - name: Status badge
  - name: Remote Tunnels
  - name: Chat
  - name: Applications
  - name: Features
  - name: Metrics
  - name: Projects
  - name: Knowledge
  - name: Rules
  - name: Configs
  - name: Labels
  - name: Scenarios
  - name: Crawling
  - name: Webhooks
  - name: Pull requests
  - name: Issues
  - name: Todos
  - name: Automations
  - name: Test plans
  - name: Integrations
  - name: Inbox
paths:
  /v1/inbox/emails:
    get:
      tags:
        - Inbox
      summary: List inbox emails
      description: >-
        List emails the project's QA.tech inbox addresses received, newest
        first, as OS Tools → Email shows them: body text, links and attachment
        names. Use it to read a sign-up confirmation, one-time code or magic
        link the site under test sent.
      operationId: ListInboxEmails
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/ListInboxEmailsQuery'
          explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListInboxEmailsResponse'
components:
  schemas:
    ListInboxEmailsQuery:
      type: object
      properties:
        toAddress:
          type: string
          description: >-
            Only emails sent to this address (case-insensitive exact match),
            such as the `email` of an inbox config from `list_configs`.
        subjectContains:
          type: string
          description: Case-insensitive substring of the subject.
        fromContains:
          type: string
          description: Case-insensitive substring of the sender address.
        since:
          allOf:
            - $ref: '#/components/schemas/Iso8601Timestamp'
          description: Only emails received at or after this ISO 8601 timestamp.
        until:
          allOf:
            - $ref: '#/components/schemas/Iso8601Timestamp'
          description: Only emails received at or before this ISO 8601 timestamp.
        limit:
          type: integer
          format: int32
          minimum: 1
          maximum: 50
          description: Maximum number of emails to return (1-50). Defaults to 10.
          default: 10
        projectShortId:
          allOf:
            - $ref: '#/components/schemas/ProjectShortId'
          description: >-
            Target a specific project by its prefixed short ID
            (proj-slug_shortId or proj_shortId), as returned by the projects
            API. Required for organization-scoped API keys; project-scoped keys
            may only pass their own project's short ID.
    ListInboxEmailsResponse:
      type: object
      required:
        - emails
        - hasMore
      properties:
        emails:
          type: array
          items:
            $ref: '#/components/schemas/InboxEmail'
          description: Newest first.
        hasMore:
          type: boolean
          description: >-
            True when more emails match than `limit` returned. Narrow with
            `since` or `toAddress`, or raise `limit`.
    Iso8601Timestamp:
      type: string
      pattern: >-
        ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])([Tt
        ]([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?(\.\d+)?([Zz]|[+-]([01]\d|2[0-3]):?[0-5]\d)?)?$
    ProjectShortId:
      type: string
      pattern: ^proj(-.+_.+|_.+)$
    InboxEmail:
      type: object
      required:
        - id
        - receivedAt
        - to
        - from
        - fromName
        - subject
        - body
        - bodyTruncated
        - links
        - attachments
      properties:
        id:
          type: string
        receivedAt:
          type: string
        to:
          type: string
        from:
          type: string
          nullable: true
        fromName:
          type: string
          nullable: true
        subject:
          type: string
          nullable: true
        body:
          type: string
          description: >-
            Plain-text body, or the HTML part flattened to text. Cut at 4,000
            characters; see `bodyTruncated`.
        bodyTruncated:
          type: boolean
        links:
          type: array
          items:
            $ref: '#/components/schemas/InboxEmailLink'
          description: >-
            Links in the email, such as verification or magic-login links. At
            most 20.
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/InboxEmailAttachment'
      description: >-
        An email received by one of the project's QA.tech inbox addresses, as
        shown in OS Tools → Email.
    InboxEmailLink:
      type: object
      required:
        - text
        - url
      properties:
        text:
          type: string
          description: Visible link text; empty for bare URLs in the plain-text part.
        url:
          type: string
    InboxEmailAttachment:
      type: object
      required:
        - filename
        - mimeType
        - size
      properties:
        filename:
          type: string
          nullable: true
        mimeType:
          type: string
        size:
          type: integer
          format: int32
          description: Size in bytes.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

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