Create collection
POST
Create a knowledge collection
ApiKeyAuth knowledge.collections:wheader
Authorization<token>Scope: knowledge.collections:w
The knowledge collection to create
application/json- body
title*stringTitle of the collection
description?stringDescription of the collection
internalKbEnabled?booleanWhether the collection is available to browse in the internal knowledge base. Defaults to true
The created knowledge collection
application/json- response
data*The created collection
curl -X POST 'https://dev.dixa.io/beta/knowledge/collections' \ -H 'Authorization: <API token>' \ -H 'Content-Type: application/json' \ -d '{ "title": "Test Collection", "description": "This is a test collection", "internalKbEnabled": true}'{}
"data": {}
"id": "78dfb531-2e1e-4ffc-bd18-fdad68cd2419",
"title": "Test Collection",
"description": "This is a test collection",
"internalKbEnabled": true,
"restrictions": {}
"isRestricted": true,
"inheritedRestrictions": []
{}
"fromCollection": "78dfb531-2e1e-4ffc-bd18-fdad68cd2419"