Skip to main content
List folders

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Query Parameters

createdAfter
string<date-time>

Return only folders created at or after this moment.

Example:

"2024-11-02T09:15:30.000Z"

createdBefore
string<date-time>

Return only folders created at or before this moment.

Example:

"2024-11-02T09:15:30.000Z"

createdBy
string[]

Return only folders created by any of these users, each given by their userId or email address.

Example:
cursor
string

The nextCursor token from a previous response. Provide it on its own to fetch the next page; combining it with any other parameter is rejected. Fetch the next page promptly, as the cursor expires after a period of inactivity.

limit
integer
default:20

Maximum number of folders to return per page.

Required range: 1 <= x <= 100
Example:

20

name
string

Return only folders whose name holds any word of this text. A folder named exactly so, regardless of letter case and accents, comes first, then the closest names.

Example:

"Contracts"

offset
integer
default:0

Number of folders to skip before the returned page. Use it for shallow access; for deep traversal follow the nextCursor instead.

Required range: 0 <= x <= 9900
Example:

0

parentFolderId
string

Return only folders directly inside this folder; the tree is taken from it. Omit to search folders at any depth of both trees. At most one of parentFolderId and scope may be provided.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"97cfb9de-92dd-413a-b5e7-175eff7506d6"

recursive
boolean
default:false

Also return folders nested at any depth, not only the direct children. Takes effect together with scope or parentFolderId.

Example:

false

scope
enum<string>

Which folder tree to search. Omit to search both trees. At most one of parentFolderId and scope may be provided.

  • personal: Your personal folder tree, visible only to you.
  • shared: The organization-wide shared folder tree.
Available options:
personal,
shared
Example:

"shared"

trashed
boolean
default:false

When true, search your trashed folders instead of the active ones.

Example:

false

Response

Returns the matching folders and pagination metadata.

A page of folders.

pagination
object | null
required

Pagination state of this page. Null when the endpoint returns the complete list in one response.

results
object[]
required

The folders matching your query.

total
integer
required

Total number of items matching the request.

Required range: x >= 0
Example:

42