cURL
curl --request GET \ --url https://helpcenter.thena.ai/collections/tree \ --header 'x-api-key: <api-key>'
{ "data": [ { "_id": "682c334124b3b0d0d29b3c17", "name": "How to setup Thena", "slug": "8805124718-how-to-setup-thena", "parentId": null, "order": 0, "icon": "BookOpenIcon", "description": "Learn how to get started with our platform", "isProtected": false, "depth": 0, "articles": [ [ "<any>" ] ], "childCollection": [ { "_id": "682c334124b3b0d0d29b3c18", "name": "Getting Started", "slug": "getting-started", "parentId": "682c334124b3b0d0d29b3c17", "order": 0, "icon": "BookOpenIcon", "description": "Learn how to get started", "depth": 1, "articles": [], "childCollection": [] } ] } ], "message": "Collections fetched successfully." }
Enter your API key (format: keyId.keySecret)
Help Center ID
"507f1f77bcf86cd799439011"
Collections fetched successfully.
The response is of type object.
object