---
title: "Search rentable phone numbers in inventory"
method: GET
path: "/product/get-available-numbers"
tags: ["Phone Numbers"]
---

# Search rentable phone numbers in inventory

`GET /product/get-available-numbers`

Searches the telephony provider's inventory for available numbers matching the requested country (and optional area code). Returns up to 5 candidates per call.

Use the returned `phoneNumber` value in [`POST /product/rent-number`](#operation/rentPhoneNumber) to actually rent it.

## Query parameters

- `countryCode` string, required
- `provider` 'plivo' | 'twilio', required
- `areaCode` string

## Response `200`

Successful response

- object
  - `status` boolean
  - `data` object[]
    - `phoneNumber` string — E.164-style number without the leading `+`. Pass exactly this value to `POST /product/rent-number`.
    - `countryCode` string
    - `provider` 'plivo' | 'twilio'
    - `areaCode` string — Region / state / area-code label returned by the provider.

## Other responses

- `400` — Invalid input
- `401` — Unauthorized access
- `500` — Internal server error

---

[API](https://skmtc.net/smallest-inc/apis/agent-management-api.md) · [All operations](https://skmtc.net/smallest-inc/apis/agent-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smallest-inc/agent-management-api/revisions/c2d0eb64b01a/schema)
