---
title: "Creates department"
method: POST
path: "/configuration/departments"
tags: ["configuration"]
---

# Creates department

`POST /configuration/departments`

## Request

- Base URL: `https://api.smartrecruiters.com`
- URL: `https://api.smartrecruiters.com/configuration/departments`
- Auth: one of:
  - API key in header `x-smarttoken`
  - OAuth 2
    - Authorization code: `https://www.smartrecruiters.com/identity/oauth/allow`
    - Token URL: `https://api.smartrecruiters.com/identity/oauth/token` scopes: `configuration_manage`

## Request body

- Department
  - `id` string
  - `label` string, required
  - `description` string
  - `archived` boolean

## Response `201`

Created department

- Department
  - `id` string
  - `label` string, required
  - `description` string
  - `archived` boolean

## Other responses

- `400`: With code **DEPARTMENT_LABEL_NOT_UNIQUE** when department with given label already exists
- `403`: Forbidden to access the resource, check your authorisation and rights.

---

[API](https://skmtc.dev/smartrecruiters/apis/configuration-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/configuration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/configuration-api/revisions/65491281a1a6?raw)
