Zip Files is a REST API tool that compresses any number of uploaded or processed files across multiple API Calls into a single archived Zip file for convenient download.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!to receive your free API Key.
curl -X POST "https://api.pdfrest.com/zip" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
Every output file created through pdfRest can easily be retrieved with a simple GET request. But what happens when you create hundreds or thousands of files to download? You can send hundreds or thousands of GET requests, or simply send one API Call to the Zip Files tool to package all of those output files together for one, easy download. The choice is yours between individual file retrieval and bundling files with zip archives.
Zip Files is flexible to support all combinations of zipping files. Upload new files to zip, bundle previously generated files on the processing server, or mix and match between new uploads and files from previous API Calls.
As developers, we love when tools provide quality of life improvements. Zip Files was designed with this in mind to make working with all of the other tools as easy and convenient as possible.
Api-Keyfield with your unique API Key
filewith the local path to your input
curl -X POST "https://api.pdfrest.com/zip" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \ -F "file=@../Sample_Input/Datalogics.bmp" \ -F "file=@../Sample_Input/ducky.pdf" \ -F "file=@../Sample_Input/rainbow.tif" \ -F "id=0950b9bdf-0465-4d3f-8ea3-d2894f1ae839" \ -F "output=example_out"
file parameter allows you to select two or more local files to be uploaded to pdfRest’s processing server. (You can include this parameter multiple times.)