Skip to main content
GET
List folders

Authorizations

scribe_session
string
cookie
required

Browser session cookie set by the WorkOS sign-in flow.

Query Parameters

scope
enum<string>

Folder section to list: 'workspace' or 'private'. Defaults to 'workspace'. Where a document or folder lives.

Available options:
workspace,
private
Example:

"workspace"

Response

The folders of the section.

Folders of one sidebar section.

folders
object[]
required

Folders sorted by name.

Example: