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

# Get Business Unit

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

## 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/{businessUnitId}`
- 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 a specific  businessUnit for the companyId and businessUnitId

**Use Cases**

- Partner needs to confirm specific businessUnit details have been added into Paylocity for a given client

## Path parameters

- `companyId` string, required
- `businessUnitId` string, required

## Headers

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

## Response `200`

Returns the business unit details

- PartnerBusinessUnitResponseDto: Business Unit response DTO for partner endpoints.
  - `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 - Business unit has not been 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)
