---
title: "Create content tree node"
method: POST
path: "/knowledge-base/1/content-tree/nodes"
tags: ["customer-engagement", "knowledge-base", "knowledge-base-content-tree"]
---

# Create content tree node

`POST /knowledge-base/1/content-tree/nodes`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/knowledge-base/1/content-tree/nodes`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Creates a new node in the content tree.

## Request body

- 09ef6171198229ad9a73a413d2271afa3ba31b9abbd6cd8a0cc9563fd721f1edCreateTreeNodeRequest
  - `type` 'CATEGORY' | 'FOLDER' | 'ARTICLE', required: Type of the tree node.
  - `name` string, required: Name of the tree node.
  - `targetId` string, uuid, required: Identifier of the target node for relative positioning.
  - `position` 'ABOVE' | 'BELOW' | 'APPEND', required: Position relative to the target node.
  - `visibility` 'PRIVATE' | 'PUBLIC': Visibility of the node.

## Response `201`

Content tree node created successfully

- 09ef6171198229ad9a73a413d2271afa3ba31b9abbd6cd8a0cc9563fd721f1edTreeNodeResponse
  - `name` string, required: Name of the tree node.
  - `id` string, uuid, required: Unique identifier of the tree node.
  - `parentId` string, uuid, required: Identifier of the parent tree node.
  - `articleCount` integer, required: Number of articles in this node.
  - `position` integer, required: Ordinal position of the node among siblings.
  - `type` 'CATEGORY' | 'FOLDER' | 'ARTICLE', required: Type of the tree node.
  - `hasChildren` boolean: Whether this node has child nodes.
  - `childList` 09ef6171198229ad9a73a413d2271afa3ba31b9abbd6cd8a0cc9563fd721f1edTreeNodeResponse[]: Child nodes of this tree node.
  - `scope` 'INTERNAL' | 'EXTERNAL', required: Content scope of the node.
  - `source` 'CSV' | 'SHAREPOINT' | 'CONFLUENCE': External source of the node, if imported.
  - `visibility` 'PRIVATE' | 'PUBLIC': Visibility of the node.
  - `root` boolean, required: Whether this is a root node.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
