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

# List phone number inventory

> List available phone number countries, number types, and prices for the authenticated user



## OpenAPI

````yaml /api-reference/openapi.json get /v1/phone-numbers/inventory
openapi: 3.1.0
info:
  title: Threetone API
  description: >-
    APIs for the Threetone Agents Platform and shared workspace resources.
    Authenticate programmatic requests with an API key in the x-api-key header.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/phone-numbers/inventory:
    get:
      tags:
        - Phone Numbers
      summary: List phone number inventory
      description: >-
        List available phone number countries, number types, and prices for the
        authenticated user
      operationId: phone_numbers_inventory
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneNumberInventoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PhoneNumberInventoryResponse:
      properties:
        countries:
          items:
            $ref: '#/components/schemas/CountryInventory'
          type: array
          title: Countries
        currency:
          type: string
          title: Currency
          default: INR
        markup_percentage:
          type: integer
          title: Markup Percentage
          description: Markup applied to provider pricing
          default: 20
      type: object
      required:
        - countries
      title: PhoneNumberInventoryResponse
      description: |-
        Complete phone number inventory/catalog.
        Shows all available countries and number types with pricing.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CountryInventory:
      properties:
        country_code:
          type: string
          title: Country Code
          description: ISO 3166-1 alpha-2 country code
        country_name:
          type: string
          title: Country Name
          description: Human readable country name
        source_type:
          $ref: '#/components/schemas/PhoneNumberSourceType'
          description: Phone number source type
          default: managed_pstn
        fulfillment_provider:
          $ref: '#/components/schemas/PhoneNumberFulfillmentProvider'
          description: Backend fulfillment provider
        number_types:
          items:
            $ref: '#/components/schemas/CountryNumberType'
          type: array
          title: Number Types
          description: Available number types with pricing
        flag_emoji:
          anyOf:
            - type: string
            - type: 'null'
          title: Flag Emoji
          description: Country flag emoji
      type: object
      required:
        - country_code
        - country_name
        - fulfillment_provider
        - number_types
      title: CountryInventory
      description: Phone number inventory for a specific country.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    PhoneNumberSourceType:
      type: string
      enum:
        - managed_pstn
        - sip_trunk
      title: PhoneNumberSourceType
    PhoneNumberFulfillmentProvider:
      type: string
      enum:
        - twilio
        - exotel
      title: PhoneNumberFulfillmentProvider
    CountryNumberType:
      properties:
        number_type:
          type: string
          title: Number Type
          description: local, mobile, or toll_free
        setup_fee:
          type: number
          title: Setup Fee
          description: One-time setup fee in provider currency
        monthly_fee:
          type: number
          title: Monthly Fee
          description: Monthly recurring fee in provider currency
        currency:
          type: string
          title: Currency
          description: Currency code (USD or INR)
        available:
          type: boolean
          title: Available
          description: Whether this type is available for purchase
          default: true
      type: object
      required:
        - number_type
        - setup_fee
        - monthly_fee
        - currency
      title: CountryNumberType
      description: Number type available in a country.

````