---
title: "List all departments"
method: GET
path: "/v1/partner/customers/{customerId}/departments"
tags: ["Customer Departments"]
---

# List all departments

`GET /v1/partner/customers/{customerId}/departments`

## Request

- Base URL: `https://api.usemultiplier.com`
- URL: `https://api.usemultiplier.com/v1/partner/customers/{customerId}/departments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/usemultiplier/apis/multiplier-public-rest-api/docs/v1/partner/customers/:customerId/departments/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve all departments for the authenticated company.

## Path parameters

- `customerId` string, uuid, required

## Response `200`

Departments retrieved successfully

- V1DepartmentsGetResponse
  - `data` DepartmentItem[], required: List of all departments for the company
    - `id` string, uuid: Department ID (UUID).
    - `code` string, nullable: Department code
    - `name` string: Department name
    - `description` string, nullable: Department description
    - `createdAt` string, date-time: Timestamp when the department was created (ISO 8601)

## Other responses

- `401`: Authentication required
- `403`: Forbidden - insufficient permissions
- `500`: Internal server error
- `503`: Service unavailable - upstream dependency error

---

[API](https://skmtc.dev/usemultiplier/apis/multiplier-public-rest-api.md) - [All operations](https://skmtc.dev/usemultiplier/apis/multiplier-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usemultiplier/apis/multiplier-public-rest-api/revisions/da31bb6ec00d?raw)
