---
title: "Create a new department"
method: POST
path: "/v1/partner/customers/{customerId}/departments"
tags: ["Customer Departments"]
---

# Create a new department

`POST /v1/partner/customers/{customerId}/departments`

Create a new department for the authenticated company.

Returns 201 with the full DepartmentItem on success.

## Path parameters

- `customerId` string, uuid, required

## Request body

- V1DepartmentsPostRequest
  - `code` string, nullable — Department code (optional)
  - `name` string, required — Department name (required)
  - `description` string, nullable — Department description (optional)

## Response `201`

Department created successfully

- DepartmentItem
  - `id` string, uuid — Department ID (UUID).
  - `code` string, nullable — Department code
  - `name` string — Department name
  - `description` string, nullable — Department description
  - `createdAt` string, date-time — Timestamp when the department was created (ISO 8601)

## Other responses

- `401` — Authentication required
- `403` — Forbidden - insufficient permissions
- `404` — Resource not found
- `422` — Unprocessable entity - validation error
- `500` — Internal server error
- `503` — Service unavailable - upstream dependency error

---

[API](https://skmtc.net/usemultiplier/apis/multiplier-public-rest-api.md) · [All operations](https://skmtc.net/usemultiplier/apis/multiplier-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usemultiplier/multiplier-public-rest-api/revisions/59cd6443fdbf/schema)
