> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/rest-apis/knowledgebase/articles/add.md).

# Add Article

## Add New Article

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

Add a new article to a Knowledge Base. The body must have the required keys: \
&#x20;\
`"groupId"` - The Knowledge Base ID \
\
`"title"` - Title of the article \
\
`"slug"` - The slug for the article

#### Headers

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

#### Request Body

| Name    | Type    | Description                                                 |
| ------- | ------- | ----------------------------------------------------------- |
| slug    | string  | The URL slug of the article                                 |
| title   | string  | The title of the article                                    |
| groupId | integer | The ID of the Knowledge Base you want to add the article to |

{% tabs %}
{% tab title="200 Article successfully saved." %}

```
{
  "data": {
    "success": true,
    "message": "New Article added Successfully."
  }
}
```

{% endtab %}
{% endtabs %}

### Body (row)

```
{
  "groupId": 1,
  "articleSlug": "New",
  "featuresImage": "",
  "title": "New Article samples",
  "description": "",
  "tags": [
    1
  ],
  "jsonContent": {},
  "departmentIds": [
    1,
    2
  ],
  "relatedArtIds": [
    1,
    2
  ],
  "articleCategories": [
    1,
    2
  ],
  "addCategory": [
    "name"
  ],
  "seoTitle": "string",
  "seoDescription": "string",
  "seoKeywords": "string",
  "author": 1,
  "botAssigned": "no",
  "autoRelated": "no",
  "access": "internal",
  "status": "draft"
}
```
