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

# Get sandbox phone numbers

> Retrieve the list of sandbox phone numbers for the account. Sandbox numbers are test numbers that bypass the real verification flow and return a fixed attempt code.

In order to get access to this endpoint, contact our support team.




## OpenAPI

````yaml get /v2/verification/management/phone-numbers/sandbox
openapi: 3.1.0
info:
  title: Prelude API
  version: 2.0.0
  description: The Prelude API allows you to send messages to your users.
  contact:
    email: support@prelude.so
servers:
  - url: https://api.prelude.dev
    description: Production server
security:
  - apiToken: []
tags:
  - name: Notify
    description: Send transactional and marketing messages with compliance enforcement.
  - name: Transactional
    description: Send transactional messages (deprecated - use Notify API instead).
  - name: Verify
    description: Verify phone numbers.
  - name: Watch
    description: Evaluate email addresses and phone numbers for trustworthiness.
  - name: Lookup
    description: >-
      Retrieve detailed information about a phone number including carrier data,
      line type, and portability status.
paths:
  /v2/verification/management/phone-numbers/sandbox:
    get:
      tags:
        - Verify
      summary: Get sandbox phone numbers
      description: >
        Retrieve the list of sandbox phone numbers for the account. Sandbox
        numbers are test numbers that bypass the real verification flow and
        return a fixed attempt code.


        In order to get access to this endpoint, contact our support team.
      operationId: getSandboxPhoneNumbers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSandboxPhoneNumbersResponse'
        '400':
          description: KO
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    GetSandboxPhoneNumbersResponse:
      type: object
      required:
        - phone_numbers
      properties:
        phone_numbers:
          type: array
          description: A list of sandbox phone numbers.
          items:
            type: object
            required:
              - phone_number
              - attempt_code
              - created_at
            properties:
              phone_number:
                type: string
                format: phone_number
                description: An E.164 formatted phone number.
                examples:
                  - '+30123456789'
              attempt_code:
                type: string
                description: >-
                  The fixed attempt code associated with the sandbox phone
                  number.
                examples:
                  - '123456'
              created_at:
                type: string
                format: date-time
                description: >-
                  The date and time when the phone number was added to the
                  sandbox list.
                examples:
                  - '2024-01-01T12:00:00Z'
    Error:
      type: object
      properties:
        code:
          type: string
          description: The error code.
          examples:
            - invalid_phone_number
        message:
          type: string
          examples:
            - >-
              The provided phone number is invalid. Provide a valid E.164 phone
              number.
          description: A human-readable message describing the error.
        type:
          type: string
          examples:
            - bad_request
          description: The error type.
        request_id:
          type: string
          examples:
            - 3d19215e-2991-4a05-a41a-527314e6ff6a
          description: >-
            A string that identifies this specific request. Report it back to us
            to help us diagnose your issues.
      required:
        - code
        - message
        - type
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer

````