---
title: "Bulk Upload"
method: POST
path: "/api/v1/bulk/upload"
tags: ["Bulk Processing"]
---

# Bulk Upload

`POST /api/v1/bulk/upload`

## Request

- Base URL: `https://api.allpdfmagic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.allpdfmagic.com/api/v1/bulk/upload`
- Auth: HTTP bearer

Upload multiple files for bulk processing.

Operations:
- compress: Compress all PDFs
- extract_invoice: Extract data from all invoices
- optimize: Optimize with preset (specify in options)
- summarize: AI summarize all PDFs (export to Excel/JSON)

Returns a job ID to track progress.

## Response `200`

Successful Response

- BulkJobResponse
  - `job_id` string, required
  - `status` 'pending' | 'processing' | 'completed' | 'failed', required
  - `total_files` integer, required
  - `processed_files` integer, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/allpdfmagic/apis/allpdfmagic-api.md) · [All operations](https://skmtc.dev/allpdfmagic/apis/allpdfmagic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/allpdfmagic/apis/allpdfmagic-api/revisions/92ad9e3b3b88?raw)
