Zip Files

Zip Files

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.

A bubbling flask with code brackets inside
Try Now with API Lab

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.
Parameters
Required Parameters
POST
/zip
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" \
  
Response
The response for your API Call will display here.
Once you've sent your POST request and received a valid response, you can download your output file using the output URL.
Build your solution

You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.

Browse all Solutions

Why is pdfRest the best API to Zip files?

pdfRest offers the best solution for zipping files together, because it supports convenience, all file types, and easy development.

Ultimate Convenience

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.

Mix and Match

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.

Quality of Life

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.

Start from Code Examples
  1. First, you'll need an API Key - to:
    • Stay anonymous with a Guest API Key for 10 free API Calls
    • Sign up for an upgraded API Key with unlimited, continuous service
  2. Choose your programming language
  3. Copy and paste the code to your project
  4. Update Api-Key field with your unique API Key
  5. Update file with the local path to your input
  6. Run this code to send an API Call
See more code examples in our
GitHub repository
Try pdfRest with just a few clicks
Download our Postman Postman Collection
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"
Customize Your Solution
File

The 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.)

Generate a self-service API Key now!

Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.

Compare Plans
Contact Us