User Files API
Platform-linkedPlatform-linked: the key’s login needs an API plan and a website plan with Files; ApiKey only. How this works.
Browse folders and files in your upload library, or search by filename. Requires sign-in.
curl -X GET "https://example.com/v2/user/files?size=20"{ "results": [], "count": 0, "size": 20, "truncated": false, "path": [ { "folder_id": "main", "name": "main" } ], "parent_folder_id": "main", "parent_name": "main"}Query Parameters
parent_folder_id?string
Folder to list or to restrict a name search. Omit with query to search the whole library. Omit without query to list main (the root). Pass main for the root folder.
Length
1 <= length <= 80query?string
Name search over files and folders. Omit to list the folder.
Length
1 <= length <= 200kind?string
file or folder. Omit to return both.
Value in
- "file"
- "folder"
size?integer
Page size. Default 50. Maximum 100.
Range
1 <= value <= 100Default
50Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json