# Add Category

## Add New Category

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

This endpoint allows you to add a new category in the Knowledge Base.

#### Headers

| Name          | Type   | Description                                                    |
| ------------- | ------ | -------------------------------------------------------------- |
| Authorization | string | Authentication token to track down who is emptying our stocks. |

#### Request Body

| Name    | Type    | Description                                                   |
| ------- | ------- | ------------------------------------------------------------- |
| name    | string  | Name of the category. Must be unique.                         |
| groupId | integer | ID of the Knowledge Base group you are adding the category to |

{% tabs %}
{% tab title="200 Category successfully added." %}

```
{
  "data": {
    "success": true,
    "message": "Category successfully added."
  }
}
```

{% endtab %}
{% endtabs %}

### Body (row)

```
{
  "groupId": 1,
  "parentCategory": 0,
  "name": "string",
  "description": "string",
  "categoryIcon": "string",
  "visibleOrder": 0,
  "status": "draft"
}
```
