---
api: 'Business API'
---

# Create a department

Create a new department in your business.

For more information, see the guides: [Manage departments](https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-departments).

## Endpoint

POST `/departments`

## Request body

### Attributes

- `name` (string)
    The name of the department.

## Returns

### 201

Department created.

#### Response attributes

- `id` (string)
    The ID of the created department.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad request  Returned when the request body is invalid. For example, when the `name` field is missing or exceeds 100 characters. |
| 401 | Unauthorized – authentication credentials are missing or invalid  Returned when the request was not fulfilled because authentication has failed or has not been provided. |
| 403 | Action forbidden - insufficient permissions to perform this action  Returned, for example, when you don't have permissions necessary to perform this action. |
| 409 | Conflict  Returned when a department with the given name already exists. |
