---
title: "Get Company Business Units"
method: GET
path: "/compliance/v1/companies/{companyId}/businessUnits"
tags: ["Business Unit"]
---

# Get Company Business Units

`GET /compliance/v1/companies/{companyId}/businessUnits`

## Request

- Base URL: `dc1demogwext.paylocity.com` (relative, and the document’s source URL is not known)
- URL: `dc1demogwext.paylocity.com/compliance/v1/companies/{companyId}/businessUnits`
- Auth: API key in header `Authorization`

> 🚧 Partner Restricted
> All background check API endpoints are restricted to background check providers that have signed a Paylocity technology partnership agreement. [Please reach out to our team](https://www.paylocity.com/contact/partner-form/) if you would like to discuss partnership opportunities.

**Summary Description**

This endpoint returns  all businessUnits for the companyId querying

**Use Cases**

- Partner needs to confirm all  businessUnits have been added into Paylocity for a client
- Partner needs to confirm the status of  businessUnits that have been added for a client

## Path parameters

- `companyId` string, required

## Query parameters

- `includeTotalCount` boolean
- `offset` integer
- `limit` integer

## Headers

- `testMode` boolean
- `Authorization` string, required

## Response `200`

Returns the business units for the companyId

- PartnerBusinessUnitResponseDtoPaginatedResult: Represents a single page of results returned from a paginated endpoint.
  - `count` integer: Optional total number of items available across all pages when requested.
  - `offset` integer: Zero-based index of the first item returned in the current page.
  - `limit` integer: Maximum number of items requested per page.
  - `items` PartnerBusinessUnitResponseDto[], nullable: Items retrieved for the current page.
    - `businessUnitId` string, nullable: Business Unit ID associated with the business unit.
    - `businessUnitName` string, nullable: Business Unit name.
    - `isActive` boolean: A Boolean value indicating if the business unit is active.
    - `description` string, nullable: Description for the business unit.
    - `createdAt` string, date-time: Creation timestamp for the business unit.
    - `updatedAt` string, date-time: Last update timestamp for the business unit.

## Other responses

- `400`: Bad Request Error - Returns the details of the error
- `401`: Unauthorized
- `404`: Not Found
- `415`: Unsupported Media Type - Returns the details of the error

---

[API](https://skmtc.dev/paylocity/apis/background-check-api.md) - [All operations](https://skmtc.dev/paylocity/apis/background-check-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/background-check-api/revisions/8d585de5e05e?raw)
