# Add

## Add

<mark style="color:green;">`POST`</mark> `https://{{account_id}}.acquire.io/api/v1/account/department`

Add a new department. The following keys must be passed in to the body of the request: \
`department_list` - Array of objects. \
`name` - The department's name. Must be unique. \
`status` - The department's status. Choose `"active"` to publish the department, choose `"disabled"` to set the department to draft.&#x20;

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{API\_KEY}} |

#### Request Body

| Name             | Type   | Description                               |
| ---------------- | ------ | ----------------------------------------- |
| status           | string | Department status: "active" \| "disabled" |
| name             | string | The department's name. Must be unique.    |
| department\_list | array  | Array of objects. The department list.    |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": [
    {
      "name": "department",
      "status": "active",
      "id": 14
    }
  ]
}
```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "department_list": [
    {
      "name": "department",
      "status": "active"
    }
  ]
}
```
