Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList CollectionsgetGet CollectionpostCreate CollectionputUpdate CollectiondelDelete CollectiongetList Public Collections
KnowledgeCollections

List Collections

View as MarkdownAgent setup

Lists a help center's collections, each with its articles and nested child collections, for building the navigation tree. Nested articles omit body, description, reaction counts, and author — fetch an article by id for those. Includes drafts and internal articles. Use List Public Collections for the reader-facing version.

GET
/projects/{projectId}/knowledge/collections

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the help center.

Query Parameters

helpCenterIdrequiredstring

ID of the help center whose collections to list.

parentIdstring | null

Only return children of this collection. Pass null for top-level collections; omit for all of them.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/knowledge/collections?helpCenterId=string"
[  {    "id": "string",    "createdAt": "string",    "updatedAt": "string",    "projectId": "string",    "helpCenterId": "string",    "name": "string",    "description": "string",    "url": "string",    "icon": "string",    "order": -9007199254740991,    "parentId": "string",    "articles": [],    "children": []  }]

Increment Article Views

Adds one to an article's view counter. Public and unauthenticated, intended to be called on page load. Every call counts. There is no per-reader deduplication, so this measures page views rather than unique readers.

Get Collection

Fetches a single collection by ID. Returns `null` rather than 404 when nothing matches.