---
updatedAt: 2025-11-03T17:26:54.000Z
agentTools:
  projectIndex: https://docs.gupshup.io/llms.txt
---

# Get Allocated Numbers

## Get Allocated Numbers

### API Endpoint

To get available numbers, the API request is made to this endpoint:

|                                                                                             |
| :------------------------------------------------------------------------------------------ |
| GET <https://kpi.knowlarity.com/Basic/v1/account/numbers/AvailablePhoneNumbers?circle_id=1> |

### Optional Parameters

| Parameters   | Description                                                            |
| :----------- | :--------------------------------------------------------------------- |
| circle\_id   | The Id of Circle for which a list of available numbers is required     |
| number\_type | Type of number required (enum : (LANDLINE, TOLLFREE, MOBILE (default)) |
| how\_many    | Integer value                                                          |
| dynamic\_cli | Available values in string, upper case                                 |
| regex        | String value                                                           |
| offset       | String value, default is 40                                            |

### Sample Request

```
curl -X GET \
  'https://kpi.knowlarity.com/Basic/v1/account/numbers/AvailablePhoneNumbers?circle_id=<circle_id>' \
  -H 'accept: application/json' \
  -H 'authorization: <authorization-key>' \
  -H 'x-api-key: <x-api-key>'
```

### Sample Response

```
{
    "numbers": [
        {
            "number_type": "MOBILE",
            "number_rating": 0,
            "circle_id": 1,
            "number": "+9189297XXXXX",
            "provider_name": "Vodafone"
        },
        {
            "number_type": "MOBILE",
            "number_rating": 0,
            "circle_id": 1,
            "number": "+9189297XXXXX",
            "provider_name": "Vodafone"
        }
      ]
}
```