---
title: "List subdepartments"
method: GET
path: "/companies/subdepartments"
---

# List subdepartments

`GET /companies/subdepartments`

## Request

- Base URL: `https://api.breezeway.io/public/inventory/v1`
- URL: `https://api.breezeway.io/public/inventory/v1/companies/subdepartments`
- Auth: API key in header `Authorization`

Provides a list of subdepartments for the specified company. Creation of subdepartments can only be performed in the application.

## Query parameters

- `reference_company_id` string, required
- `company_id` string

## Response `200`

200

- object[]
  - `id` integer
  - `name` string
  - `reference_company_id` string

---

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