---
title: Generate Secure Archives API
slug: create-protected-zip
url: https://apyverse.com/apyhub/service/create-protected-zip
provider: ApyHub
categories: [File Manipulation, File Security, "Security & Privacy"]
auth: api_key
---

# Generate Secure Archives API

Create password-protected ZIP archives from uploaded files or remote URLs. Return a binary download or a signed link to the archive.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `generate/secure-archive/file-urls/archive-url` | What it does Creates a password-protected ZIP archive from one or more remote file URLs and returns… | 150 |
| POST | `generate/secure-archive/files/archive-file` | What it does Creates a password-protected ZIP archive from one or more uploaded files and returns t… | 150 |
| POST | `generate/secure-archive/files/archive-url` | What it does Creates a password-protected ZIP archive from uploaded files and returns a signed link… | 150 |
| POST | `generate/secure-archive/file-urls/archive-file` | What it does Creates a password-protected ZIP archive from the remote files referenced by the input… | 150 |

## About

## What it does
Protected ZIP Creator lets you build password-protected ZIP archives from either uploaded files or remote file URLs. Send a list of files or a list of URLs, plus a password, and get back a ZIP file for download or a signed link to the finished archive.

Use the `/file/download` and `/url/download` endpoints when you want the ZIP immediately as binary output. Use the `/file/link` and `/url/link` endpoints when you prefer a signed URL in the response and want to fetch the archive later. In all cases, the archive contents are protected with the password you supply in the request body.

This is useful when you need to bundle documents, images, or mixed assets for secure sharing, internal handoff, or customer delivery. For example, you can collect supporting files from an upload form, package them into one encrypted archive, and return a single download instead of multiple attachments.

Protected ZIP Creator is a straightforward file-security and file-manipulation utility: it takes binary files or remote URIs, applies password protection, and returns either a binary ZIP stream or a signed archive link.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/create-protected-zip
