---
updatedAt: 2026-07-01T21:22:52.000Z
agentTools:
  projectIndex: https://developer.clickup.com/llms.txt
---

# Get Folders

View the Folders in a Space. Subfolders are returned in the same flat list as top-level Folders, each with a `parent_folder` field holding the ID of the Folder it is nested inside of. This endpoint does not nest them; to get a Folder's subfolder tree, use [Get Folder](#tag/Folders/operation/GetFolder) with `include_subfolders=true`.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ClickUp API v2 Reference",
    "description": "The ClickUp API enables you to programmatically access and manage your ClickUp resources.\n\n## Authentication\nThe API supports two authentication methods:\n- **Personal API Token**: Use for testing and personal integrations. Add token to requests with header: `Authorization: pk_...`\n- **OAuth 2.0**: Required for building apps for other users. Uses authorization code flow.\n\n## Getting Started\nOur [Getting Started Guide](https://developer.clickup.com/docs/index) provides a comprehensive overview of how to use the ClickUp API.\n\n## Custom Fields by Task Type\nCustom Fields can be scoped to specific custom task types. Use the Custom Fields endpoints to read each field's `applied_objects` array (`object_type` `19` = custom task type). Task responses only include applicable Custom Fields, and write operations reject or ignore values for non-applicable fields.\n",
    "contact": {},
    "version": "2.0"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "servers": [
    {
      "url": "https://api.clickup.com/api",
      "description": "ClickUp",
      "variables": {}
    }
  ],
  "paths": {
    "/v2/space/{space_id}/folder": {
      "get": {
        "summary": "Get Folders",
        "tags": [
          "Folders"
        ],
        "description": "View the Folders in a Space. Subfolders are returned in the same flat list as top-level Folders, each with a `parent_folder` field holding the ID of the Folder it is nested inside of. This endpoint does not nest them; to get a Folder's subfolder tree, use [Get Folder](#tag/Folders/operation/GetFolder) with `include_subfolders=true`.\n",
        "operationId": "GetFolders",
        "parameters": [
          {
            "name": "space_id",
            "in": "path",
            "description": "",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "number",
              "contentEncoding": "double",
              "examples": [
                789
              ]
            }
          },
          {
            "name": "archived",
            "in": "query",
            "description": "",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "boolean",
              "examples": [
                false
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "title": "GetFoldersresponse",
                  "required": [
                    "folders"
                  ],
                  "type": "object",
                  "properties": {
                    "folders": {
                      "type": "array",
                      "description": "The Folders in the Space. Subfolders are included in this flat list alongside top-level Folders, each with a `parent_folder` field identifying the Folder it is nested inside of. This endpoint does not nest them; to get a Folder's subfolder tree, use [Get Folder](#tag/Folders/operation/GetFolder) with `include_subfolders=true`.\n",
                      "items": {
                        "title": "Folder5",
                        "required": [
                          "id",
                          "name",
                          "orderindex",
                          "override_statuses",
                          "hidden",
                          "space",
                          "task_count",
                          "lists"
                        ],
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "orderindex": {
                            "type": "integer",
                            "contentEncoding": "int32"
                          },
                          "override_statuses": {
                            "type": "boolean"
                          },
                          "hidden": {
                            "type": "boolean"
                          },
                          "space": {
                            "$ref": "#/paths/~1v2~1list~1{list_id}/get/responses/200/content/application~1json/schema/properties/space"
                          },
                          "task_count": {
                            "type": "string"
                          },
                          "archived": {
                            "type": "boolean",
                            "description": "Whether the Folder is archived."
                          },
                          "statuses": {
                            "type": "array",
                            "description": "Statuses defined on this Folder. Only populated when `override_statuses` is `true`. A Folder that inherits its statuses returns an empty array here; its effective statuses are those of its nearest ancestor Folder that overrides them, or of the Space when no ancestor does. To get the resolved statuses for a Folder, request it with [Get Folder](#tag/Folders/operation/GetFolder).\n",
                            "items": {
                              "$ref": "#/paths/~1v2~1folder~1{folder_id}/get/responses/200/content/application~1json/schema/properties/statuses/items"
                            }
                          },
                          "lists": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "parent_folder": {
                            "type": "string",
                            "description": "ID of the parent Folder if this Folder is a subfolder. Only present when the Folder is nested inside another Folder.\n"
                          }
                        },
                        "examples": [
                          {
                            "id": "1057",
                            "name": "Folder Name",
                            "orderindex": 5,
                            "override_statuses": true,
                            "hidden": false,
                            "space": {
                              "id": "789",
                              "name": "Space Name",
                              "access": true
                            },
                            "task_count": "20",
                            "statuses": [
                              {
                                "id": "c1057_Xv4bNr9T",
                                "status": "to do",
                                "orderindex": 0,
                                "color": "#87909e",
                                "type": "open"
                              }
                            ],
                            "lists": []
                          }
                        ]
                      }
                    }
                  },
                  "examples": [
                    {
                      "folders": [
                        {
                          "id": "457",
                          "name": "Updated Folder Name",
                          "orderindex": 0,
                          "override_statuses": false,
                          "hidden": false,
                          "space": {
                            "id": "789",
                            "name": "Space Name",
                            "access": true
                          },
                          "task_count": "0",
                          "statuses": [],
                          "lists": []
                        },
                        {
                          "id": "458",
                          "name": "Second Folder Name",
                          "orderindex": 1,
                          "override_statuses": false,
                          "hidden": false,
                          "space": {
                            "id": "789",
                            "name": "Space Name",
                            "access": true
                          },
                          "task_count": "0",
                          "statuses": [],
                          "lists": [],
                          "parent_folder": "457"
                        }
                      ]
                    }
                  ]
                },
                "example": {
                  "folders": [
                    {
                      "id": "457",
                      "name": "Updated Folder Name",
                      "orderindex": 0,
                      "override_statuses": false,
                      "hidden": false,
                      "space": {
                        "id": "789",
                        "name": "Space Name",
                        "access": true
                      },
                      "task_count": "0",
                      "statuses": [],
                      "lists": []
                    },
                    {
                      "id": "458",
                      "name": "Second Folder Name",
                      "orderindex": 1,
                      "override_statuses": false,
                      "hidden": false,
                      "space": {
                        "id": "789",
                        "name": "Space Name",
                        "access": true
                      },
                      "task_count": "0",
                      "statuses": [],
                      "lists": [],
                      "parent_folder": "457"
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      },
      "parameters": []
    },
    "/v2/folder/{folder_id}": {
      "get": {
        "summary": "Get Folder",
        "tags": [
          "Folders"
        ],
        "description": "View the Lists within a Folder. If the Folder is a subfolder, the response includes a `parent_folder` field with the parent Folder ID.\n\nUse the `include_subfolders` query parameter to include a `folders` array in the response. Each entry is a complete Folder object with the same fields as the Folder you requested, including its own `folders` array, so the response contains the whole subfolder tree down to the Workspace's subfolder nesting limit. Subfolders the requesting user cannot access are excluded.\n",
        "operationId": "GetFolder",
        "parameters": [
          {
            "name": "folder_id",
            "in": "path",
            "description": "",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "number",
              "contentEncoding": "double",
              "examples": [
                457
              ]
            }
          },
          {
            "name": "include_subfolders",
            "in": "query",
            "description": "Set to `true` to include the nested subfolder tree in the response as a `folders` array of complete Folder objects. Subfolder support must be enabled for the Workspace.\n",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "title": "GetFolderresponse",
                  "required": [
                    "id",
                    "name",
                    "orderindex",
                    "override_statuses",
                    "hidden",
                    "space",
                    "task_count",
                    "lists"
                  ],
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "orderindex": {
                      "type": "integer",
                      "contentEncoding": "int32"
                    },
                    "override_statuses": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "space": {
                      "$ref": "#/paths/~1v2~1list~1{list_id}/get/responses/200/content/application~1json/schema/properties/space"
                    },
                    "task_count": {
                      "type": "string"
                    },
                    "archived": {
                      "type": "boolean",
                      "description": "Whether the Folder is archived."
                    },
                    "statuses": {
                      "type": "array",
                      "description": "The statuses that apply to this Folder. Inherited statuses are resolved, so this is populated whether or not `override_statuses` is `true`: a Folder that does not override its statuses returns the statuses of its nearest ancestor Folder that does, or of the Space when no ancestor does.\n",
                      "items": {
                        "title": "FolderStatus",
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Unique identifier of the status. Not returned on the Create Folder response.\n"
                          },
                          "status": {
                            "type": "string",
                            "description": "Name of the status."
                          },
                          "orderindex": {
                            "type": "integer",
                            "description": "Position of the status within its status group."
                          },
                          "color": {
                            "type": "string",
                            "description": "Hex color code for the status."
                          },
                          "type": {
                            "type": "string",
                            "description": "Type of the status (`open`, `custom`, `closed`, or `done`)."
                          }
                        },
                        "examples": [
                          {
                            "id": "c457_Kq7mZa2P",
                            "status": "to do",
                            "orderindex": 0,
                            "color": "#87909e",
                            "type": "open"
                          }
                        ]
                      }
                    },
                    "permission_level": {
                      "type": "string",
                      "description": "The requesting user's permission level on this Folder (`read`, `comment`, `edit`, or `create`).\n"
                    },
                    "lists": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": ""
                    },
                    "parent_folder": {
                      "type": "string",
                      "description": "ID of the parent Folder if this Folder is a subfolder. Only present when the Folder is nested inside another Folder.\n"
                    },
                    "folders": {
                      "type": "array",
                      "description": "The subfolder tree beneath this Folder. Each entry is a complete Folder object with the same fields as this Folder, including its own `folders` array, so the whole tree is returned down to the Workspace's subfolder nesting limit. Leaf Folders have an empty `folders` array.\n\nOnly present when the `include_subfolders=true` query parameter is set and subfolder support is enabled for the Workspace. Subfolders the requesting user cannot access are excluded.\n",
                      "items": {
                        "title": "Subfolder",
                        "description": "A Folder nested inside another Folder, as returned in the `folders` array of a Folder response. Subfolders carry the same fields as the Folder they are nested in, including their own `folders` array, so the response describes the whole subfolder tree.\n\nThe `space` object is not repeated on nested entries: a subfolder always belongs to the same Space as the Folder you requested.\n",
                        "required": [
                          "id",
                          "name",
                          "orderindex",
                          "override_statuses",
                          "hidden",
                          "task_count",
                          "parent_folder"
                        ],
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "orderindex": {
                            "type": "integer",
                            "contentEncoding": "int32"
                          },
                          "override_statuses": {
                            "type": "boolean"
                          },
                          "hidden": {
                            "type": "boolean"
                          },
                          "task_count": {
                            "type": "string"
                          },
                          "archived": {
                            "type": "boolean",
                            "description": "Whether the Folder is archived."
                          },
                          "statuses": {
                            "type": "array",
                            "description": "The statuses that apply to this subfolder. Inherited statuses are resolved, so this is populated whether or not `override_statuses` is `true`, and matches what a direct [Get Folder](#tag/Folders/operation/GetFolder) request for this subfolder returns.\n",
                            "items": {
                              "$ref": "#/paths/~1v2~1folder~1{folder_id}/get/responses/200/content/application~1json/schema/properties/statuses/items"
                            }
                          },
                          "lists": {
                            "type": "array",
                            "description": "Lists contained in this Folder.",
                            "items": {
                              "type": "object"
                            }
                          },
                          "parent_folder": {
                            "type": "string",
                            "description": "ID of the Folder this Folder is nested inside of.\n"
                          },
                          "folders": {
                            "type": "array",
                            "description": "Subfolders nested inside this Folder, using this same shape. Empty when the Folder has no subfolders, so the array terminates the tree at every leaf.\n",
                            "items": {
                              "$ref": "#/paths/~1v2~1folder~1{folder_id}/get/responses/200/content/application~1json/schema/properties/folders/items"
                            }
                          }
                        },
                        "examples": [
                          {
                            "id": "460",
                            "name": "Child Folder Name",
                            "orderindex": 0,
                            "override_statuses": false,
                            "hidden": false,
                            "task_count": "0",
                            "statuses": [
                              {
                                "id": "p789_87Rq2Yzk",
                                "status": "to do",
                                "orderindex": 0,
                                "color": "#87909e",
                                "type": "open"
                              }
                            ],
                            "lists": [],
                            "parent_folder": "457",
                            "folders": []
                          }
                        ]
                      }
                    }
                  },
                  "examples": [
                    {
                      "id": "457",
                      "name": "Updated Folder Name",
                      "orderindex": 0,
                      "override_statuses": false,
                      "hidden": false,
                      "space": {
                        "id": "789",
                        "name": "Space Name",
                        "access": true
                      },
                      "task_count": "0",
                      "statuses": [
                        {
                          "id": "p789_87Rq2Yzk",
                          "status": "to do",
                          "orderindex": 0,
                          "color": "#87909e",
                          "type": "open"
                        }
                      ],
                      "lists": []
                    }
                  ]
                },
                "examples": {
                  "subfolder": {
                    "summary": "A Folder nested inside another Folder",
                    "value": {
                      "id": "457",
                      "name": "Updated Folder Name",
                      "orderindex": 0,
                      "override_statuses": false,
                      "hidden": false,
                      "space": {
                        "id": "789",
                        "name": "Space Name",
                        "access": true
                      },
                      "task_count": "0",
                      "lists": [],
                      "parent_folder": "456"
                    }
                  },
                  "nested-tree": {
                    "summary": "With include_subfolders=true, returning the nested subfolder tree. None of these Folders override their statuses, so each one resolves to the statuses of the Space.\n",
                    "value": {
                      "id": "457",
                      "name": "Parent Folder Name",
                      "orderindex": 0,
                      "override_statuses": false,
                      "hidden": false,
                      "space": {
                        "id": "789",
                        "name": "Space Name",
                        "access": true
                      },
                      "task_count": "0",
                      "statuses": [
                        {
                          "id": "p789_87Rq2Yzk",
                          "status": "to do",
                          "orderindex": 0,
                          "color": "#87909e",
                          "type": "open"
                        }
                      ],
                      "lists": [],
                      "folders": [
                        {
                          "id": "460",
                          "name": "Child Folder Name",
                          "orderindex": 0,
                          "override_statuses": false,
                          "hidden": false,
                          "task_count": "0",
                          "statuses": [
                            {
                              "id": "p789_87Rq2Yzk",
                              "status": "to do",
                              "orderindex": 0,
                              "color": "#87909e",
                              "type": "open"
                            }
                          ],
                          "lists": [],
                          "parent_folder": "457",
                          "folders": [
                            {
                              "id": "461",
                              "name": "Grandchild Folder Name",
                              "orderindex": 0,
                              "override_statuses": false,
                              "hidden": false,
                              "task_count": "0",
                              "statuses": [
                                {
                                  "id": "p789_87Rq2Yzk",
                                  "status": "to do",
                                  "orderindex": 0,
                                  "color": "#87909e",
                                  "type": "open"
                                }
                              ],
                              "lists": [],
                              "parent_folder": "460",
                              "folders": []
                            }
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      },
      "parameters": []
    },
    "/v2/list/{list_id}": {
      "get": {
        "summary": "Get List",
        "tags": [
          "Lists"
        ],
        "description": "View information about a List.",
        "operationId": "GetList",
        "parameters": [
          {
            "name": "list_id",
            "in": "path",
            "description": "The List ID. To find the List ID, right-click the List in your Sidebar, select Copy link, and paste the link in your URL. The last string in the URL is your List ID.",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "number",
              "contentEncoding": "double",
              "examples": [
                124
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "title": "GetListresponse",
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "orderindex": {
                      "type": "integer",
                      "contentEncoding": "int32"
                    },
                    "content": {
                      "type": "string"
                    },
                    "status": {
                      "title": "Status5",
                      "required": [
                        "status",
                        "color",
                        "hide_label"
                      ],
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string"
                        },
                        "color": {
                          "type": "string"
                        },
                        "hide_label": {
                          "type": "boolean"
                        }
                      },
                      "examples": [
                        {
                          "status": "red",
                          "color": "#e50000",
                          "hide_label": true
                        }
                      ]
                    },
                    "priority": {
                      "title": "Priority1",
                      "required": [
                        "priority",
                        "color"
                      ],
                      "type": "object",
                      "properties": {
                        "priority": {
                          "type": "string"
                        },
                        "color": {
                          "type": "string"
                        }
                      },
                      "examples": [
                        {
                          "priority": "urgent",
                          "color": "#f50000"
                        }
                      ]
                    },
                    "assignee": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "task_count": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "due_date": {
                      "type": "string"
                    },
                    "due_date_time": {
                      "type": "boolean"
                    },
                    "start_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "start_date_time": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "folder": {
                      "title": "Folder3",
                      "required": [
                        "id",
                        "name",
                        "hidden",
                        "access"
                      ],
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "hidden": {
                          "type": "boolean"
                        },
                        "access": {
                          "type": "boolean"
                        }
                      },
                      "examples": [
                        {
                          "id": "1217",
                          "name": "Shared with me",
                          "hidden": false,
                          "access": false
                        }
                      ]
                    },
                    "space": {
                      "title": "Space2",
                      "required": [
                        "id",
                        "name",
                        "access"
                      ],
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "access": {
                          "type": "boolean"
                        }
                      },
                      "examples": [
                        {
                          "id": "789",
                          "name": "Space Name",
                          "access": true
                        }
                      ]
                    },
                    "inbound_address": {
                      "type": "string"
                    },
                    "archived": {
                      "type": "boolean"
                    },
                    "override_statuses": {
                      "type": "boolean"
                    },
                    "statuses": {
                      "type": "array",
                      "items": {
                        "$ref": "#/paths/~1v2~1task~1{task_id}/get/responses/200/content/application~1json/schema/properties/status"
                      },
                      "description": ""
                    },
                    "permission_level": {
                      "type": "string"
                    }
                  },
                  "examples": [
                    {
                      "id": "124",
                      "name": "Updated List Name",
                      "orderindex": 1,
                      "content": "Updated List Content",
                      "status": {
                        "status": "red",
                        "color": "#e50000",
                        "hide_label": true
                      },
                      "priority": {
                        "priority": "high",
                        "color": "#f50000"
                      },
                      "assignee": null,
                      "due_date": "1567780450202",
                      "due_date_time": true,
                      "start_date": null,
                      "start_date_time": null,
                      "folder": {
                        "id": "456",
                        "name": "Folder Name",
                        "hidden": false,
                        "access": true
                      },
                      "space": {
                        "id": "789",
                        "name": "Space Name",
                        "access": true
                      },
                      "inbound_address": "add.task.124.ac725f.31518a6a-05bb-4997-92a6-1dcfe2f527ca@tasks.clickup.com",
                      "archived": false,
                      "override_statuses": false,
                      "statuses": [
                        {
                          "status": "to do",
                          "orderindex": 0,
                          "color": "#d3d3d3",
                          "type": "open"
                        },
                        {
                          "status": "complete",
                          "orderindex": 1,
                          "color": "#6bc950",
                          "type": "closed"
                        }
                      ],
                      "permission_level": "create"
                    }
                  ]
                },
                "example": {
                  "id": "124",
                  "name": "Updated List Name",
                  "orderindex": 1,
                  "content": "Updated List Content",
                  "status": {
                    "status": "red",
                    "color": "#e50000",
                    "hide_label": true
                  },
                  "priority": {
                    "priority": "high",
                    "color": "#f50000"
                  },
                  "assignee": null,
                  "task_count": 10,
                  "due_date": "1567780450202",
                  "due_date_time": true,
                  "start_date": null,
                  "start_date_time": null,
                  "folder": {
                    "id": "456",
                    "name": "Folder Name",
                    "hidden": false,
                    "access": true
                  },
                  "space": {
                    "id": "789",
                    "name": "Space Name",
                    "access": true
                  },
                  "inbound_address": "add.task.124.ac725f.31518a6a-05bb-4997-92a6-1dcfe2f527ca@tasks.clickup.com",
                  "archived": false,
                  "override_statuses": false,
                  "statuses": [
                    {
                      "status": "to do",
                      "orderindex": 0,
                      "color": "#d3d3d3",
                      "type": "open"
                    },
                    {
                      "status": "complete",
                      "orderindex": 1,
                      "color": "#6bc950",
                      "type": "closed"
                    }
                  ],
                  "permission_level": "create"
                }
              }
            }
          }
        },
        "deprecated": false
      },
      "parameters": []
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization_Token": {
        "name": "Authorization",
        "type": "apiKey",
        "in": "header",
        "description": "API token required for authentication. Two types of tokens are supported:\n**Personal API Key** Obtain from ClickUp's settings page under 'Apps' and add it to the header as `Authorization: pk_...`\n**OAuth2 Access Token** Generated through the OAuth2 flow and add it to the header as `Authorization: Bearer {access_token}`"
      }
    }
  },
  "security": [
    {
      "Authorization_Token": []
    }
  ],
  "tags": [
    {
      "name": "Folders"
    },
    {
      "name": "Lists"
    }
  ]
}
```