About this tool
This tool puts several files into one ZIP file, a single package that is easier to send or store. You can choose the name of each file inside, put everything into a folder, and choose how hard the files are squeezed. It does not add a password. For that, use the password ZIP tool.
For example, you bundle a contract, an invoice and some photos into one ZIP to download or send.
How to use it
- Choose this tool.
- Add all the files you want to pack, with Upload or by dragging them in.
- If you like, set the names inside the ZIP, a folder name and how much to compress.
- Press Generate.
- Download the ZIP file.
What you get back
You get one ZIP file containing all your files, ready to download.
GOOD TO KNOW
Files in, one ZIP out. Counts as one file.
TEST IT LIVE
Try Create ZIP in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
Documents
Plan
Free
Method
POST
Endpoint
/v1/documents/archive-create
Tool ID
documents.archive-create
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Documents
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/documents/archive-create" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'files=@document.pdf' \
-F 'names=["a.txt","docs/b.txt"]' \
-F 'folder=export-2026' \
-F 'level=6'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.documents.archiveCreate({
"files": 'document.pdf',
"names": "[\"a.txt\",\"docs/b.txt\"]",
"folder": "export-2026",
"level": 6
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->documents()->archiveCreate([
'files' => 'document.pdf',
'names' => '["a.txt","docs/b.txt"]',
'folder' => 'export-2026',
'level' => 6,
]);
echo $result->requestId;Documentation
Guides that use this tool
More in Documents
