> ## 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 SMS

> List text messages the project's QA.tech phone numbers received, newest first, as OS Tools → SMS shows them. Use it to read a one-time code the site under test sent.



## OpenAPI

````yaml /api-reference/api.json get /v1/inbox/sms
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/sms:
    get:
      tags:
        - Inbox
      summary: List inbox SMS
      description: >-
        List text messages the project's QA.tech phone numbers received, newest
        first, as OS Tools → SMS shows them. Use it to read a one-time code the
        site under test sent.
      operationId: ListInboxSms
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/ListInboxSmsQuery'
          explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListInboxSmsResponse'
components:
  schemas:
    ListInboxSmsQuery:
      type: object
      properties:
        phoneNumber:
          type: string
          description: >-
            Only messages received by this phone number, in E.164 format such as
            `+46700000000`.
        since:
          allOf:
            - $ref: '#/components/schemas/Iso8601Timestamp'
          description: Only messages received at or after this ISO 8601 timestamp.
        until:
          allOf:
            - $ref: '#/components/schemas/Iso8601Timestamp'
          description: Only messages received at or before this ISO 8601 timestamp.
        limit:
          type: integer
          format: int32
          minimum: 1
          maximum: 100
          description: Maximum number of messages to return (1-100). Defaults to 20.
          default: 20
        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.
    ListInboxSmsResponse:
      type: object
      required:
        - messages
        - hasMore
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/InboxSms'
          description: Newest first.
        hasMore:
          type: boolean
          description: True when more messages match than `limit` returned.
    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(-.+_.+|_.+)$
    InboxSms:
      type: object
      required:
        - id
        - receivedAt
        - phoneNumber
        - from
        - to
        - message
      properties:
        id:
          type: string
        receivedAt:
          type: string
        phoneNumber:
          type: string
          description: The QA.tech number that received the message.
        from:
          type: string
        to:
          type: string
        message:
          type: string
      description: >-
        A text message received by one of the project's QA.tech phone numbers,
        as shown in OS Tools → SMS.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

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