{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}
Folders
Search folders
Search for folders in the HubSpot file manager using various query parameters to filter results. This endpoint allows you to retrieve folders based on specific criteria such as creation date, update date, folder name, and parent folder IDs. It supports pagination and sorting to help manage large sets of data efficiently.
{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}
Supported products
Required Scopes
Authorizations
oauth2oauth2oauth2
Authorization
string
header
required
The access token received from the authorization server in the OAuth 2.0 flow.
Scopes
files
files.read
files.ui_hidden.read
Query Parameters
after
string
A cursor token for pagination. Use the value from the previous response's paging.next.after field.
before
string
A cursor token for pagination. Use the value from the previous response's paging.prev.before field.
createdAt
string<date-time>
Filter folders created at this exact epoch timestamp.
createdAtGte
string<date-time>
Filter results where the creation date is greater than or equal to this epoch timestamp.
createdAtLte
string<date-time>
Filter results to folders created before or at this epoch timestamp.
idGte
integer<int64>
Filter results to include only folders with IDs greater than or equal to this value.
idLte
integer<int64>
Filter to include folders with IDs less than or equal to this value.
ids
integer<int64>[]
A list of folder IDs to filter the results.
limit
integer<int32>
The maximum number of results to display per page.
name
string
Filter folders by this name.
parentFolderIds
integer<int64>[]
A list of parent folder IDs to filter the results.
path
string
Filter results to folders with this specific path.
properties
string[]
A list of property names to include in the response.
sort
string[]
A list of property names to sort by in the response.
updatedAt
string<date-time>
Filter results to include only folders updated at this exact epoch timestamp.
updatedAtGte
string<date-time>
Filter results to folders updated at or after this epoch timestamp.
updatedAtLte
string<date-time>
Filter folders updated at or before this epoch timestamp.
Response
successful operation
results
object[]
required
An array of folder objects, each representing a folder within the file manager.
Show child attributes
paging
object
Represents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.
Show child attributes
Last modified on November 16, 2026
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.