GET
/
collections
Get all collections of an organization
curl --request GET \
  --url https://helpcenter.thena.ai/collections \
  --header 'x-api-key: <api-key>'
{
  "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": "Collections fetched successfully."
}

Authorizations

x-api-key
string
header
required

Enter your API key (format: keyId.keySecret)

Response

201
application/json

Collections fetched successfully.

The response is of type object.