# Create a department

`POST https://api.cademi.com.br/api/v3/support/departments`

Operation ID: `departments.create` · API v3

Creates a support department with the given name.

The response includes a `Location` header pointing to the new department.

Required permissions: `departments.create`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `Idempotency-Key` | header | string | yes |  |

## Request body

Content type: `application/json`, required.

| Field | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes |  |

## Responses

### 201

Returns the newly created department.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 422

The request body or query parameters failed validation.

Body: ValidationFailed.

Full schema: https://cademi.dev/openapi/v3.json
