v1

latestOpenAPI 3.1.02026-07-243113441.2 MB
Departments

Get all departments of a company

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

scope: departments:read

get/v1/companies/{company_uuid}/departments

Path parameters

company_uuidstring required

The UUID of the company

Headers

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

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Response

Success

versionstring

The current version of the object. See the versioning guide for information on how to use this field.

uuidstring

The UUID of the department

company_uuidstring

The UUID of the company

titlestring

Name of the department