# 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"
    }
  ]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.acquire.io/rest-apis/settings/account-settings/account-department/add-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
