Download or save multiple stored files as a single archive
Bundle a set of stored files into a zip, tar, or tgz archive. Pass fileIds for explicit selection, folderId to archive a folder (with recursive: true to include subfolders), or omit both to grab root-level files. Set saveToFiles: true and an optional targetFolderId to drop the archive back into Convertly Storage instead of returning the bytes inline.
Authorizations
Dashboard-generated Convertly API key. Keys currently begin with cvly_.
Body
Provide exactly one of fileIds or folderId. Omit both to archive the account's root-level files.
Explicit list of stored file IDs to include.
Archive every file in this folder.
Used with folderId. When true, includes files in subfolders; the archive preserves the folder structure.
zip, tar, tgz When true, save the archive back to Convertly Storage and return JSON. When false, stream the archive bytes inline.
Where to save the archive when saveToFiles=true. Defaults to root.
Response
Archive bytes streamed as application/zip, application/x-tar, or application/gzip. When saveToFiles=true the response is JSON with the new stored file instead.