Skip to Content
put.ioDevelopers
Register an app

Download as ZIP

GEThttps://api.put.io/v2/zips/zip-and-download/{id}

Creates or reuses a zip of one file or folder and waits up to 8 seconds for it. Redirects to the zip URL when ready. Otherwise returns 503; retry after the Retry-After delay. The download token from GET /account/info?download_token=1 also works.

Path

idintegerRequired

File or folder ID.

Returns

302

Redirect to the zip URL.

Errors

JSON with error_type, error_message, error_id and extra.

403ZIP_TOTAL_SIZE_EXCEEDED when the file is larger than 1TB.
404File not found.
500ERROR_IN_ZIP when the zip job failed or no zip server is available.
503Zip is not ready yet.
429Too many requests. Limits are per token and per IP. Wait until X-RateLimit-Reset, then retry.