---
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` 'twilio' | 'plivo' | 'custom' | 'whatsapp', 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` 'twilio' | 'plivo' | 'custom' | 'whatsapp'
    - `areaCode` string — Region / state / area-code label returned by the provider.

## Other responses

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

## Changes

- **2026-09-01** `49ce8525306e` — 2 warning, 2 info
  - added the new `custom` enum value to the `data/items/provider` response property for the response status `200`
  - added the new `whatsapp` enum value to the `data/items/provider` response property for the response status `200`
  - added the new enum value `custom` to the `query` request parameter `provider`
  - added the new enum value `whatsapp` to the `query` request parameter `provider`
- **2026-06-16** `4cc40f995db8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smallest-inc/apis/agent-management-api/changes/product/get-available-numbers/get.md)

---

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