---
title: "Get all collections"
url: https://docs.gleap.ai/en/reference/rest-api/get-helpcenter-collections
method: GET
path: "/helpcenter/collections"
api: "API Reference"
tag: "Help center collections"
operationId: "GetHelpcenterCollections"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Get all collections

`GET https://api.gleap.io/v3/helpcenter/collections`

Get help center collections. Returns only top-level collections by default; pass `parentId=<collectionId>` to list the direct children of a collection, or `parentId=all` to list every collection. Results are sorted by `lexorank` and each entry includes `articlesCount` and `subCollectionsCount`. Note: this endpoint returns the dashboard view of a collection; `project` and `externalId` are omitted. Use GET /helpcenter/collections/all for full documents. Pass `site=<siteId>` (or `site=default`) to list one help center site's collections.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Headers

- `project` (string, required)

## Example request

```bash
curl --request GET \
  --url https://api.gleap.io/v3/helpcenter/collections \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 200 (`application/json`)

Ok

- `subCollectionsCount` (number<double>, required)
- `articlesCount` (number<double>, required)

```json
[
  {
    "subCollectionsCount": 0,
    "articlesCount": 0
  }
]
```
