---
title: "List of locations for a country."
method: GET
path: "/absenceregions/countries/{countryCode}/locations"
tags: ["absenceRegions"]
---

# List of locations for a country.

`GET /absenceregions/countries/{countryCode}/locations`

Returns a list of all the locations of a country, expressed as ISO 3166-2 codes.
            It will include the regions and subregions (sublocations) of the country if available.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `countryCode` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- AbsenceRegionLocation[]
  - `code` string, nullable — The ISO-3166-2 location code.
  - `name` string, nullable — The name of the location.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
