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

# Search Available Numbers

> Search for available Twilio phone numbers.



## OpenAPI

````yaml /openapi.json get /api/telephony/numbers/search
openapi: 3.1.0
info:
  title: Nenyax API
  description: Backend API for Nenyax Voice Agent Platform
  version: 0.1.0
servers:
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/telephony/numbers/search:
    get:
      tags:
        - Telephony
      summary: Search Available Numbers
      description: Search for available Twilio phone numbers.
      operationId: search_available_numbers_api_telephony_numbers_search_get
      parameters:
        - name: area_code
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Area code to search in
            title: Area Code
          description: Area code to search in
        - name: country
          in: query
          required: false
          schema:
            type: string
            description: Country code
            default: US
            title: Country
          description: Country code
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 20
            minimum: 1
            default: 10
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NumberSearchResult'
                title: >-
                  Response Search Available Numbers Api Telephony Numbers Search
                  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NumberSearchResult:
      properties:
        phone_number:
          type: string
          title: Phone Number
        friendly_name:
          type: string
          title: Friendly Name
        locality:
          anyOf:
            - type: string
            - type: 'null'
          title: Locality
        region:
          anyOf:
            - type: string
            - type: 'null'
          title: Region
      type: object
      required:
        - phone_number
        - friendly_name
      title: NumberSearchResult
    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

````