GuideLab API

List categories

Retrieve product categories for the authenticated lab, optionally filtered by parent or active status. Returns a hierarchical tree by default or a flat list when requested.

GET
/categories

Retrieve product categories for the authenticated lab, optionally filtered by parent or active status. Returns a hierarchical tree by default or a flat list when requested.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

includeInactive?||
Defaultfalse
parentId?string
flat?||
Defaultfalse
labId?string

Response Body

application/json

curl -X GET "https://example.com/categories"
{  "categories": [    null  ]}
Empty
Empty
Empty
Empty