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

# Search Available Numbers

> Numbers the carrier account can buy, voice-capable. Admin only.



## OpenAPI

````yaml /openapi.json get /v1/phone-numbers/available
openapi: 3.1.0
info:
  title: TurnCall
  description: Production voice agent platform API
  version: 2.0.0
servers: []
security: []
paths:
  /v1/phone-numbers/available:
    get:
      tags:
        - phone-numbers
      summary: Search Available Numbers
      description: Numbers the carrier account can buy, voice-capable. Admin only.
      operationId: search_available_numbers_v1_phone_numbers_available_get
      parameters:
        - name: carrier
          in: query
          required: false
          schema:
            enum:
              - twilio
              - telnyx
            type: string
            description: The carrier account to search.
            default: twilio
            title: Carrier
          description: The carrier account to search.
        - name: country
          in: query
          required: false
          schema:
            type: string
            pattern: ^[A-Za-z]{2}$
            description: ISO 3166 country code.
            default: US
            title: Country
          description: ISO 3166 country code.
        - name: number_type
          in: query
          required: false
          schema:
            enum:
              - local
              - toll_free
              - mobile
            type: string
            default: local
            title: Number Type
        - name: area_code
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^[0-9]{2,8}$
              - type: 'null'
            title: Area Code
        - name: contains
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^[0-9]{2,16}$
              - type: 'null'
            description: Digits the number contains.
            title: Contains
          description: Digits the number contains.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 50
            minimum: 1
            default: 20
            title: Limit
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: x-twilio-account-sid
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              A Twilio account to search instead of the platform's; with
              X-Twilio-Auth-Token.
            title: X-Twilio-Account-Sid
          description: >-
            A Twilio account to search instead of the platform's; with
            X-Twilio-Auth-Token.
        - name: x-twilio-auth-token
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: That account's Auth Token.
            title: X-Twilio-Auth-Token
          description: That account's Auth Token.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Search Available Numbers V1 Phone Numbers Available
                  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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