---
title: "List areas with pagination"
method: GET
path: "/os/v1/areas"
tags: ["Area", "Area"]
---

# List areas with pagination

`GET /os/v1/areas`

Retrieves a paginated list of areas for the company, including organization unit and cost center external codes when linked. When `externalCode` is provided, results are filtered to areas whose code contains that value (case-insensitive substring). If nothing matches, `data` is empty and `total` is 0.

## Query parameters

- `externalCode` string
- `page` number
- `maxPageSize` number

## Response `200`

Areas retrieved successfully

## Other responses

- `400` — Bad Request - Invalid query parameters
- `401` — Unauthorized - Invalid or missing token
- `500` — Internal Server Error - Unexpected failure

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/revisions/3f26defa2a42/schema)
