Server-side processing for heavy-duty tasks and enterprise features
POST /api/compress/advanced Content-Type: multipart/form-data X-API-Key: your-api-key { "file": <PDF file>, "options": { "quality": "high", "dpi": 150, "colorSpace": "rgb", "removeMetadata": true, "optimizeImages": true, "compressText": true } }
POST /api/compress/batch Content-Type: multipart/form-data X-API-Key: your-api-key { "file1": <PDF file>, "file2": <PDF file>, "options": { "quality": "medium", "outputFormat": "zip" } }
GET /api/jobs/{jobId} X-API-Key: your-api-key Response: { "id": "job_123", "status": "completed", "progress": 100, "result": { "originalSize": 1048576, "processedSize": 524288, "downloadUrl": "/api/download/job_123" } }