---
title: "List cities in a department"
method: GET
path: "/v1/departments/{idDepartment}/cities"
tags: ["departments"]
---

# List cities in a department

`GET /v1/departments/{idDepartment}/cities`

## Request

- Base URL: `https://api.earnation.live` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earnation.live/v1/departments/{idDepartment}/cities`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/earnation/apis/earnation-api/docs/v1/departments/:idDepartment/cities/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `idDepartment` integer, required

## Response `200`

OK

- object

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/earnation/apis/earnation-api.md) - [All operations](https://skmtc.dev/earnation/apis/earnation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/earnation/apis/earnation-api/revisions/07ba720b1643?raw)
