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

# List available numbers

> List phone numbers available in a country and area code.

Returns phone numbers available for purchase for the required `country_code` and area `code` combination.

The `code` request field represents the area code, not a country calling prefix.


## OpenAPI

````yaml POST /v1/numbers/available-list
openapi: 3.1.0
info:
  title: Amplify Customer API
  version: 1.0.0
  description: |-
    Canonical contract for the Amplify customer-facing API. This YAML file is
    the source of truth for Postman and Mintlify. Operations marked with
    x-amplify-validation-status: pending were migrated from the legacy Postman
    collection and must be validated before their contract is considered final.
servers:
  - url: https://api.amplify.xyz
    description: Production
  - url: https://dev-api.amplify.xyz
    description: Development
security: []
tags:
  - name: Authentication
  - name: Fax
  - name: Send Faxes
  - name: Receive Faxes
  - name: Manage Faxes
  - name: Workspace
  - name: Numbers
  - name: Contacts
  - name: Documents
  - name: Templates
paths:
  /v1/numbers/available-list:
    post:
      tags:
        - Numbers
      summary: List available numbers
      description: >-
        Returns phone numbers currently available for purchase that match the
        required country code and area code.
      operationId: postv1NumbersAvailableList
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                country_code:
                  type: string
                  description: >-
                    Two-letter country code used to search for available
                    numbers.
                code:
                  type: string
                  description: >-
                    Area code used to filter the available numbers within the
                    specified country.
              required:
                - country_code
                - code
            example:
              country_code: CH
              code: '91'
      responses:
        '200':
          description: Available numbers retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableNumbersResponse'
              example:
                status: 1
                data:
                  - '+41912470045'
                  - '+41912470046'
        '422':
          description: A required country code or area code was not supplied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationMessageResponse'
              examples:
                missingCountry:
                  summary: Missing country code
                  value:
                    status: 0
                    message: The country code field is required.
                missingAreaCode:
                  summary: Missing area code
                  value:
                    status: 0
                    message: The code field is required.
      security:
        - bearerAuth: []
components:
  schemas:
    AvailableNumbersResponse:
      type: object
      required:
        - status
      properties:
        status:
          type: integer
          description: A successful response returns `1`.
        data:
          type: array
          description: >-
            Available phone numbers in E.164 format. This property may be
            omitted when no matching country or area exists.
          items:
            type: string
    ValidationMessageResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: integer
          description: Indicates that the request was not accepted.
        message:
          type: string
          description: Human-readable validation message.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````