Get a folder by ID
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
Retrieve a single folder. The folder must belong to the current workspace.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*string200
application/json- response
id*stringUnique folder identifier
name*stringFolder name
type*stringFolder type: DOCUMENT or TEMPLATE
Value in
"DOCUMENT""TEMPLATE"parentFolderId*|Parent folder id, or null for top-level folders
workspaceId*stringcreatedById*stringcreatedAt*unknownupdatedAt*unknownchildFolderCount?integerNumber of direct child folders (non-deleted)
Range
-9007199254740991 <= value <= 9007199254740991itemCount?integerNumber of documents or templates directly in this folder
Range
-9007199254740991 <= value <= 9007199254740991curl -X GET 'https://app.sajn.se/api/v1/folders/string' \ -H 'authorization: string'Example Response
{ "id": "string", "name": "string", "type": "DOCUMENT", "parentFolderId": "string", "workspaceId": "string", "createdById": "string", "createdAt": null, "updatedAt": null, "childFolderCount": -9007199254740991, "itemCount": -9007199254740991}Was this page helpful?