Add content to Box Archive
Add content to Box Archive
To add content to an archive, you need to create it first. If you have not done this yet, use the Create Archive endpoint.
Add file or folder to archive
Use the PUT /files/:id
API endpoint to add a file to an archive, or the PUT /folders/:id
endpoint to add a folder.
The id
parameter is the ID of the file/folder you want to add to the archive.
To specify the destination, use the parent.id
parameter in the request body.
This can be either an ID of an archive or the ID of a folder that is inside an archive.