For AI agents
This page is the canonical “how to use this API” reference for automated tools and AI agents.
Stable machine-readable endpoints
- OpenAPI 3.0:
https://www.docuclipper.com/api-docs/openapi.json(also mirrored athttps://www.docuclipper.com/api-docs/.well-known/openapi.json) - LLM hint file:
https://www.docuclipper.com/api-docs/llms.txt(high-level usage + links)
Auth + base URL
bash
BASE="https://www.docuclipper.com/api/v1"
API_KEY="YOUR_API_KEY"
# Every request:
Authorization: Bearer $API_KEYCanonical workflow
- Upload a document:
POST /protected/document - Create a job:
POST /protected/job - Wait for
status === "Succeeded"(poll or use webhooks) - Export extracted results:
POST /protected/job/<id>/exportwithformat: "json"
Job types (create job + export)
- Bank statements / check images: create job with
{ enableBankMode: true }(omitjobType), export with{ jobType: "FieldsToExcel1", format: "json" } - Invoices: create job with
{ jobType: "Invoice" }, export with{ jobType: "Invoice", format: "json" } - Tax forms: create job with
{ jobType: "Form" }, export with{ jobType: "Form", format: "json" }. Response is a documentId → array map where each item hasrowNumber,pageNumber, andform(dynamic key-value fields).
Fraud signals
For bank-statement fraud features, use GET /protected/document/<documentId>/fraudSignals after extraction completes.