You can generate zip files using Filestack's new transformation engine.
Root task cannot be abbreviated
This is the main image we will be zipping for the first example.
Zip one file using a Filestack handle or external url
Transform and then Zip one file using a Filestack handle
Note: Transformations will only be applied to the first object in the files array, and the other files will not be added to the zip archive.
Add multiple files to a zip archive
Note: If you are trying to zip multiple external urls and do not include a filestack handle as the first file in the files array, then you will need to provide your API key in the standard fashion.
>>> curl -X POST -g "https://process.filestackapi.com/AuSv4FudVRheqTxmY0NDgz/zip/store=container:filestack-web-demo,location:S3,region:us-east-1,path:\"my/custom/path/\",filename:my_zip_file.zip/[https://d1wtqaffaaj63z.cloudfront.net/images/20150617_143146.jpg,lJPl3UZAT4KBHshDh0rx,ESQaWCPlTBO8PIf3FcAj,cAOjqIyFS4W9aZwNfmNi,94YtbpTSQVuSVwwaSswR,MztUB2xSuucl8EKbRWgE]"
The response you receive will be like the standard JSON blob Filestack returns after using the filepicker.store() method.
returned JSON blob: