---
title: "Gets the list of available area codes."
method: GET
path: "/availablePhoneNumbers/countries/{countryCode}/areaCodes"
tags: ["Browse for available countries, cities and area codes"]
---

# Gets the list of available area codes.

`GET /availablePhoneNumbers/countries/{countryCode}/areaCodes`

## Path parameters

- `countryCode` string, required

## Query parameters

- `phoneNumberType` 'geographic' | 'tollFree' | 'mobile', required
- `skip` integer
- `maxPageSize` integer
- `assignmentType` 'person' | 'application'
- `locality` string
- `administrativeDivision` string
- `api-version` string, required

## Headers

- `accept-language` string

## Response `200`

Success

- PhoneNumberAreaCodes — The list of available area codes.
  - `areaCodes` PhoneNumberAreaCode[], required — Represents a list of available toll-free area codes.
    - `areaCode` string — An area code.
  - `nextLink` string — Represents the URL link to the next page.

## Other responses

- `default` — Failure

## Changes

- **2026-07-13** (2021-03-07) `1dbc8bc20279` — 1 info
  - endpoint added
- **2021-05-19** (2021-03-07) `5c6abf2b2252` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/communication-phonenumbers/changes/availablePhoneNumbers/countries/:countryCode/areaCodes/get.md)

---

[API](https://skmtc.dev/azure/apis/communication-phonenumbers.md) · [All operations](https://skmtc.dev/azure/apis/communication-phonenumbers/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/communication-phonenumbers/revisions/6e81b3741aa7/schema)
