List folders
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.GET
List folders in the current workspace, filtered by type (DOCUMENT or TEMPLATE) and optionally by parent folder.
Pass parentFolderId to list direct children of a specific folder. Omit it to list top-level folders.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
List of folders
application/json- response
List of folders
folders*array<>curl -X GET 'https://app.sajn.se/api/v1/folders?type=%22DOCUMENT%22' \ -H 'authorization: string'Example Response
{ "folders": [ { "id": "string", "name": "string", "type": "DOCUMENT", "parentFolderId": "string", "workspaceId": "string", "createdById": "string", "createdAt": null, "updatedAt": null, "childFolderCount": -9007199254740991, "itemCount": -9007199254740991 } ]}Was this page helpful?