Folders
List folders
List the media library’s folders in the workspaces the key can reach.
GET
List folders
Needs
folders:read. See Permissions.data, and not paged).
workspace_idkeeps one workspace’s folders.root=1keeps only the top-level folders (parent_idis null). Send1or0:trueandfalseare refused with422.parent_idkeeps the folders directly in one folder. It is ignored withroot=1.
type is read from the folder’s name, which must match exactly: “Product Demos” is DEMO, “UGC Videos” UGC, “Hooks Videos” HOOK, “Sounds” SOUND, “AI Generated” AI_GENERATED and “References” AI_GENERATED_REFERENCE. PostSyncer makes folders with these names for its own work. Every other folder is DEFAULT.
Errors
Related
- List media: the files in a folder, with
folder_id. - Create a folder: add one.
Authorizations
Query Parameters
Response
The folders.
Read from the name: the folders PostSyncer makes for its own work are DEMO ("Product Demos"), UGC ("UGC Videos"), HOOK ("Hooks Videos"), SOUND ("Sounds"), AI_GENERATED ("AI Generated") and AI_GENERATED_REFERENCE ("References"). Every other folder is DEFAULT.
Available options:
DEFAULT, DEMO, UGC, HOOK, SOUND, AI_GENERATED, AI_GENERATED_REFERENCE