CopyHero

List Library Folders

GET
/api/v1/library/mcp/folders

Product Library folders as flat rows in tree order, with path, depth, product_count and has_children, paged by next_cursor. Use it to find folder ids for an import.

Query Parameters

parent_id?|

Start below this folder (uuid); else at the roots.

max_depth?|

Levels below the start; 1 = direct children only.

q?|

Case-insensitive search in folder name and path.

limit?|

Rows per page, 1 to 500.

cursor?|

next_cursor of the previous page.

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X GET 'https://app.copyhero.app/api/v1/library/mcp/folders'
Example Response
null