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

# List Purchased Numbers

> List Purchased Numbers.

### Authorizations

<ParamField header="X-Api-Key" type="string" required>
  Your Agni API key used to authenticate the request. Pass it in the `X-Api-Key` header. Find or rotate it from your Ravan AI account settings.
</ParamField>

***

### Query Parameters

<ParamField query="region" type="string">
  Filters available numbers by region, state, province, or locality when supported.
</ParamField>

<ParamField query="iso_country" type="string">
  The ISO 3166-1 alpha-2 country code. Example: `US`.
</ParamField>

<ParamField query="is_active" type="boolean">
  Filters results by active status. Use `true` for active records or `false` for inactive records.
</ParamField>

***

### Response

<ResponseField name="success" type="boolean">
  Whether the request succeeded.
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable status message.
</ResponseField>

<ResponseField name="data" type="object[]">
  Returned data.

  <Expandable title="data[]">
    <ResponseField name="id" type="string">
      Record ID
    </ResponseField>

    <ResponseField name="telephony_id" type="string">
      Associated telephony ID
    </ResponseField>

    <ResponseField name="subscription_id" type="string">
      Associated subscription ID
    </ResponseField>

    <ResponseField name="inbound_trunk_id" type="string">
      Inbound SIP trunk ID
    </ResponseField>

    <ResponseField name="outbound_trunk_id" type="string">
      Outbound SIP trunk ID
    </ResponseField>

    <ResponseField name="number" type="string">
      Phone number in E.164 format
    </ResponseField>

    <ResponseField name="friendly_name" type="string">
      Human-readable label
    </ResponseField>

    <ResponseField name="per_minute_price_inbound" type="integer">
      Per-minute inbound price
    </ResponseField>

    <ResponseField name="per_minute_price_outbound" type="integer">
      Per-minute outbound price
    </ResponseField>

    <ResponseField name="price" type="integer">
      Monthly price
    </ResponseField>

    <ResponseField name="region" type="string">
      Region
    </ResponseField>

    <ResponseField name="iso_country" type="string">
      ISO country code
    </ResponseField>

    <ResponseField name="is_active" type="boolean">
      Whether the number is active
    </ResponseField>

    <ResponseField name="created_at" type="string">
      Creation timestamp
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      Last update timestamp
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Request completed successfully",
    "data": [
      {
        "id": "id_123",
        "telephony_id": "telephony_123",
        "subscription_id": "subscription_123",
        "inbound_trunk_id": "inbound_trunk_123",
        "outbound_trunk_id": "outbound_trunk_123",
        "number": "+14155550100",
        "friendly_name": "Support Bot",
        "per_minute_price_inbound": 1,
        "per_minute_price_outbound": 1,
        "price": 1,
        "region": "example",
        "iso_country": "US",
        "is_active": true,
        "created_at": "2026-03-14T12:00:00Z",
        "updated_at": "2026-03-14T12:00:00Z"
      }
    ]
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /api/v1/phone-numbers/list
openapi: 3.0.1
info:
  title: Agni API
  version: 1.0.0
  description: >-
    Agni API for managing agents, tools, widget settings, telephony, and
    integrations.
servers:
  - url: https://api.ravan.ai
security:
  - X-Api-Key: []
tags:
  - name: AgentService
  - name: AgentToolService
  - name: WidgetSettingsService
  - name: PhoneService
  - name: AppointmentService
  - name: GHLService
  - name: CalComService
  - name: CampaignService
  - name: ContactService
  - name: CallingService
  - name: RAGService
  - name: ModelService
  - name: HealthService
paths:
  /api/v1/phone-numbers/list:
    get:
      tags:
        - PhoneService
      summary: List Purchased Numbers
      operationId: ListPurchasedNumbers
      parameters:
        - name: region
          in: query
          schema:
            type: string
          description: Region filter
        - name: iso_country
          in: query
          schema:
            type: string
          description: ISO country code filter
        - name: is_active
          in: query
          schema:
            type: boolean
          description: Filter by active status
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPurchasedNumbersResponse'
components:
  schemas:
    ListPurchasedNumbersResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/PurchasedNumber'
    PurchasedNumber:
      type: object
      properties:
        id:
          type: string
          description: Record ID
        telephony_id:
          type: string
          description: Associated telephony ID
        subscription_id:
          type: string
          description: Associated subscription ID
        inbound_trunk_id:
          type: string
          description: Inbound SIP trunk ID
        outbound_trunk_id:
          type: string
          description: Outbound SIP trunk ID
        number:
          type: string
          description: Phone number in E.164 format
        friendly_name:
          type: string
          description: Human-readable label
        per_minute_price_inbound:
          type: integer
          format: int32
          description: Per-minute inbound price
        per_minute_price_outbound:
          type: integer
          format: int32
          description: Per-minute outbound price
        price:
          type: integer
          format: int32
          description: Monthly price
        region:
          type: string
          description: Region
        iso_country:
          type: string
          description: ISO country code
        is_active:
          type: boolean
          description: Whether the number is active
        created_at:
          type: string
          description: Creation timestamp
        updated_at:
          type: string
          description: Last update timestamp
  securitySchemes:
    X-Api-Key:
      type: apiKey
      in: header
      name: X-Api-Key

````