---
title: "List folders in a workspace"
method: POST
path: "/listFolders"
tags: ["Workspace"]
---

# List folders in a workspace

`POST /listFolders`

## Request

- Base URL: `https://www.taskade.com/api/v2`
- URL: `https://www.taskade.com/api/v2/listFolders`
- Auth: OAuth 2 and HTTP bearer
  - Authorization code: `https://www.taskade.com/oauth2/authorize`
  - Token URL: `https://www.taskade.com/oauth2/token`

## Request body

- object
  - `spaceId` string, required

## Response `200`

Default response

- object
  - `ok` true, required
  - `items` object[], required
    - `id` string, required
    - `name` string, required
    - `archived` boolean: True when the workspace or folder is archived.

---

[API](https://skmtc.dev/taskade/apis/taskade-public-api-v2.md) - [All operations](https://skmtc.dev/taskade/apis/taskade-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/taskade/apis/taskade-public-api-v2/revisions/45f0e74ec083?raw)
