File uploads

Upload documents via multipart form or use presigned S3 URLs for large files. Supported formats: PDF, PNG, JPEG, CSV, XLSX.

Multipart upload

POST to /api/v1/protected/document with multipart/form-data, field name document.

bash
curl -X POST "https://www.docuclipper.com/api/v1/protected/document" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "document=@statement.pdf"

Presigned upload (large files)

For large files: POST /api/v1/protected/document/uploads3 with filename and mimetype. PUT the file to the returned URL, then POST /api/v1/protected/document/:documentId/uploads3/complete to start processing.

Supported formats

  • PDF (single and multi-page, scanned)
  • PNG, JPEG (images)
  • CSV, XLSX

See Bank Statement OCR API for the full flow.