# Returns locations for the specified country.

GET https://api.awork.com/api/v1/absenceregions/countries/{countryCode}/locations

Returns the country's locations as ISO 3166-2 codes, including regions and subregions when available. An unsupported country code returns not found.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Request example

```sh
curl -X GET --globoff 'https://api.awork.com/api/v1/absenceregions/countries/{countryCode}/locations' \
  -H 'Authorization: Bearer <token>'
```

- path parameter `countryCode`: string (required). The country code.

## Response 200

OK

application/json

```json
[
  {
    "code": "DE-HH",
    "name": "Hamburg"
  }
]
```

## Response 404

Not Found

application/json

```json
{
  "code": "not-found",
  "description": "There is no matching path for this URL.",
  "link": "https://developers.awork.com",
  "details": [
    "No project with the id '123' exists."
  ],
  "validationErrors": [
    {
      "property": "FirstName",
      "message": "FirstName is required."
    }
  ],
  "traceId": "a65ce5745df02af216715ff06661fb3a"
}
```
