curl --request POST \
--url https://helpcenter.thena.ai/collections \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"helpCenterId": "507f1f77bcf86cd799439011",
"name": "Getting Started Guide",
"description": "Learn how to get started with our platform",
"icon": "book",
"isProtected": false,
"parentId": "507f1f77bcf86cd799439013"
}'
{
"data": {
"_id": "671b855619d8f51c01c0d28f",
"orgId": "667d37bb3a401eba4a609426",
"uid": 3115095248,
"helpCenterId": "671a2ddbccca6b1c3dc0d3b6",
"name": "General",
"description": "Description of the collection",
"slug": "3115095248-general",
"parentId": null,
"order": 0,
"createdBy": "66d9652332a786110182e40c",
"isProtected": false,
"createdAt": "2024-10-25T11:47:35.005Z",
"updatedAt": "2024-11-18T07:37:11.001Z",
"articles": [
"6735b68c2baad6fe6f6da745"
],
"icon": "AnnotationIcon",
"meta": {
"title": null,
"description": null,
"image": null
}
},
"message": "Collection created successfully."
}
curl --request POST \
--url https://helpcenter.thena.ai/collections \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"helpCenterId": "507f1f77bcf86cd799439011",
"name": "Getting Started Guide",
"description": "Learn how to get started with our platform",
"icon": "book",
"isProtected": false,
"parentId": "507f1f77bcf86cd799439013"
}'
{
"data": {
"_id": "671b855619d8f51c01c0d28f",
"orgId": "667d37bb3a401eba4a609426",
"uid": 3115095248,
"helpCenterId": "671a2ddbccca6b1c3dc0d3b6",
"name": "General",
"description": "Description of the collection",
"slug": "3115095248-general",
"parentId": null,
"order": 0,
"createdBy": "66d9652332a786110182e40c",
"isProtected": false,
"createdAt": "2024-10-25T11:47:35.005Z",
"updatedAt": "2024-11-18T07:37:11.001Z",
"articles": [
"6735b68c2baad6fe6f6da745"
],
"icon": "AnnotationIcon",
"meta": {
"title": null,
"description": null,
"image": null
}
},
"message": "Collection created successfully."
}
Enter your API key (format: keyId.keySecret)
Collection created successfully.
The response is of type object
.