---
title: "Search folders"
method: GET
path: "/files/2026-03/folders/search"
tags: ["Folders"]
---

# Search folders

`GET /files/2026-03/folders/search`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/files/2026-03/folders/search`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

Search for folders. Does not contain hidden or archived folders.

## Query parameters

- `after` string
- `before` string
- `createdAt` string, date-time
- `createdAtGte` string, date-time
- `createdAtLte` string, date-time
- `idGte` integer
- `idLte` integer
- `ids` integer[]
- `limit` integer
- `name` string
- `parentFolderIds` integer[]
- `path` string
- `properties` string[]
- `sort` string[]
- `updatedAt` string, date-time
- `updatedAtGte` string, date-time
- `updatedAtLte` string, date-time

## Response `200`

successful operation

- FilesCollectionResponseFolder
  - `paging` Paging
    - `next` NextPage: Specifies the paging information needed to retrieve the next set of results in a paginated API response
      - `after` string, required: A paging cursor token for retrieving subsequent pages.
      - `link` string: A URL that can be used to retrieve the next page results.
    - `prev` PreviousPage: specifies the paging information needed to retrieve the previous set of results in a paginated API response
      - `before` string, required: A string token used to identify the position before the current page in the pagination sequence.
      - `link` string: A URL string that provides a direct link to the previous page of results.
  - `results` FilesFolder[], required
    - `archived` boolean, required: Marks whether the folder is deleted or not.
    - `archivedAt` string, date-time: Timestamp of folder deletion.
    - `createdAt` string, date-time, required: Timestamp of folder creation.
    - `id` string, required: ID of the folder.
    - `name` string: Name of the folder.
    - `parentFolderId` string: ID of the parent folder.
    - `path` string: Path of the folder in the file manager.
    - `updatedAt` string, date-time, required: Timestamp of the latest update to the folder.

## Other responses

- `default`: An error occurred.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 3 info
  - api operation id `get-/files/2026-03/folders/search_doSearch` removed and replaced with `get-/files/2026-03/folders/search`
  - the security scope `files.ui_hidden.read` was added to the endpoint's security scheme `private_apps`
  - the security scope `files` was removed from the endpoint's security scheme `private_apps`
- **2026-04-03** `3578967e48df`: 2 info
  - the security scope `files.ui_hidden.read` was added to the endpoint's security scheme `private_apps`
  - the security scope `files` was removed from the endpoint's security scheme `private_apps`
- **2026-04-01** `e0403341222c`: 2 info
  - the security scope `files.ui_hidden.read` was added to the endpoint's security scheme `private_apps`
  - the security scope `files` was removed from the endpoint's security scheme `private_apps`
- **2026-03-31** `f33be5a82610`: 2 info
  - the security scope `files.ui_hidden.read` was added to the endpoint's security scheme `private_apps`
  - the security scope `files` was removed from the endpoint's security scheme `private_apps`
- **2026-03-30** `dc2fdad57f7f`: 2 info
  - the security scope `files.ui_hidden.read` was added to the endpoint's security scheme `private_apps`
  - the security scope `files` was removed from the endpoint's security scheme `private_apps`

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/files/2026-03/folders/search/get.md)

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
