---
title: "Get all departments of a company"
method: GET
path: "/v1/companies/{company_uuid}/departments"
tags: ["Departments"]
---

# Get all departments of a company

`GET /v1/companies/{company_uuid}/departments`

Get all of the departments for a given company with the employees and contractors assigned to that department.

scope: `departments:read`

## Path parameters

- `company_uuid` string, required

## Headers

- `X-Gusto-API-Version` '2026-06-15'

## Response `200`

Success

- Department[]
  - `version` string — The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field.
  - `uuid` string — The UUID of the department
  - `company_uuid` string — The UUID of the company
  - `title` string — Name of the department
  - `employees` object[] — Array of employees assigned to the department.
    - `uuid` string
  - `contractors` object[] — Array of contractors assigned to the department.
    - `uuid` string

## Other responses

- `404` — Not Found The requested resource does not exist. Make sure the provided UUID is valid.

---

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