Get folders
Gets folders with optional exclusion and optional pagination/filtering. Returns a list of folders.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
In: header
Query Parameters
Sort by field name (optional). Available fields: "Name", "ParentUrl"
Folder name used for filtering. Optional filter operators can be applied to refine the search:
- equal (default)
- contains
- startswith
- endswith
Page number (1-based). Default is 1. Ignored when get_all = true.
int321 <= value <= 2147483647Number of items per page. Default is 10. Maximum is 100. Ignored when get_all = true.
int321 <= value <= 50When true, pagination is disabled and all items are returned.
Sort direction: "asc" or "desc". Default is "asc" (optional)
Optional folder ID to exclude from the results.
uuidIf true, excludes the root folder from the results.
falseResponse Body
application/json
application/json
curl -X GET "https://example.com/api/v2/hubfolders"{ "isSuccess": true, "error": {}, "errorDetails": "string", "message": "string", "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "name": "string", "parentUrl": "string", "location": "string" } ], "resultInfo": { "page": 0, "perPage": 0, "totalCount": 0, "totalPages": 0, "hasPreviousPage": true, "hasNextPage": true }}