This is the API v2 documentation. API v2 is currently in preview state and not recommended for production use! Read more about API v2 in our blog post.

Create Archives

Create archive tasks

Create a task to create a ZIP, RAR, 7Z, TAR, TAR.GZ or TAR.BZ2 archive.

input string or array, required The ID of the input tasks of the files to create the archive from. Multiple task IDs can be provided as an array.
output_format string, required The archive format.
engine string, optional Use a specific engine for the conversion.
engine_version string, optional Use a specific engine version for the conversion.
filename string, optional Choose a filename (including extension) for the output file.
... optional Conversion and engine specific options. Depends on output_format.
Select the output format above to show additional conversion options.
{{ }} optional, {{ option.type }} Defaults to {{ option.default }}. Possible values: , .


The created task. You can find details about the task model response in the documentation about the show tasks endpoint.



Example Request

$ curl -X POST "" \
       -H "Authorization: Bearer API_KEY" \
       -H "Content-type: application/json" \
       -d '{
  "input": [
  "output_format": "pdf",
  "archive_multiple_files": false

Example Response

  "data": {
    "id": "c85f3ca9-164c-4e89-8ae2-c08192a7cb08",
    "operation": "archive",
    "status": "processing",
    "message": null,
    "created_at": "2018-09-19T14:42:58+00:00",
    "started_at": "2018-09-19T14:42:58+00:00",
    "ended_at": null,
    "depends_on_tasks": {},
    "engine": "archivetool",
    "engine_version": "1.0",
    "payload": {
      "input": [
      "output_format": "pdf"
    "result": null