---
title: "Retrieves a Department resource."
method: GET
path: "/departments/{id}"
tags: ["Department"]
---

# Retrieves a Department resource.

`GET /departments/{id}`

## Request

- Base URL: `https://example.myintranetapps.com/api`
- URL: `https://example.myintranetapps.com/api/departments/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/bossinsights/apis/boss-insights/docs/departments/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a Department resource.

## Path parameters

- `id` string, required

## Response `200`

Department resource

- Department: A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.
  - `id` string
  - `integration` string: The key of the integration source e.g. "quickbooks", or "xero"
  - `name` string
  - `directory` string, nullable: List the directory of the current department e.g. Parent:Department1:SubDepartment1:SubDepartment2
  - `subDepartment` boolean, nullable: Boolean on if this department is a subdepartment
  - `active` boolean: Boolean on if department is currently active
  - `created` string, date-time, nullable: Date entry was created
  - `modified` string, date-time, nullable: Date entry was last modified

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/bossinsights/apis/boss-insights.md) - [All operations](https://skmtc.dev/bossinsights/apis/boss-insights/llms.txt) - [OpenAPI document](https://skmtc.dev/bossinsights/apis/boss-insights/revisions/d08a107895ad?raw)
