Skip to main content
FoldersVersion: v3

Get Folders

GET/projects/spaces/{spaceId}/folders

Pages folders under a space (folders[], not items). Simple: ?limit=20 then ?limit=20&cursor={nextCursor}. Deep-link: add anchorId of a known folder to load a window centered on it. Location comes from the token.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:projects/workspace.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

spaceIdstringrequired

Space id

Example:6a102435124ecfb348bd5506

Query Parameters

limitnumber

Maximum number of items per page

Possible values: >= 1 and <= 100

Default:20
Example:20
cursorstring

Opaque base64-encoded position cursor for forward pagination

Example:eyJvZmZzZXQiOjIwfQ==
anchorIdstring

Optional. Center the page on this child (for example a list inside a long folder). When set, the response includes anchorId, anchorIndex, windowStart, and may include prevCursor / nextCursor. For simple forward paging, omit anchorId and use limit + cursor from nextCursor only.

Example:6a102435124ecfb348bd5507

Response

Successful response

foldersobject[]required

Page of folders

nextCursorstringnullable

Cursor for the next page — pass back as cursor

Example:eyJvZmZzZXQiOjIwfQ==
prevCursorstringnullable

Cursor for the previous page (anchor windows only)

Example:eyJvZmZzZXQiOjB9
anchorIdstringnullable

Echoed when the request used anchorId

Example:6a102435124ecfb348bd5506
anchorIndexnumber

Index of the anchor folder in the window

Example:0
windowStartnumber

Start offset of the current window

Example:0