Build document AI into your product. REST + webhooks for scanning, OCR, e-signature, extraction, blockchain Verify, Rooms, and Pilot workflows. SDKs for JavaScript, Python, and Dart.
Sign and anchor a contract in 8 lines:
POST /v1/documents uploadGET /v1/documents/:id retrievePOST /v1/documents/:id/ocr run OCRPOST /v1/documents/:id/extract structured extraction
POST /v1/signatures requestGET /v1/signatures/:id statusPOST /v1/signatures/:id/cancel
Webhooks: signature.completed
POST /v1/verify/anchor anchor a hashGET /v1/verify/:hash public lookupGET /v1/verify/:hash/proof Merkle proof
POST /v1/rooms createPOST /v1/rooms/:id/files add filePOST /v1/rooms/:id/viewers invite
Webhooks: room.viewed, room.downloaded
POST /v1/pilot/workflows create from promptPOST /v1/pilot/workflows/:id/runGET /v1/pilot/runs/:id
POST /v1/ask chat with docsPOST /v1/ask/index add to corpus
Streaming responses with citations.
Bearer token in the Authorization header. API keys scoped per workspace, with optional IP allowlist and per-endpoint rate limits. Rotate keys at any time from the developer console.
Subscribe to events on documents, signatures, rooms, runs, and verifications. Signed with HMAC-SHA256, retried with exponential backoff for 24 hours, viewable in the developer console.
npm install @docfila/sdk — works in Node, Deno, Bun, browsers, Cloudflare Workers.
pip install docfila — sync and async clients, type-hinted.
dart pub add docfila — same SDK powering DocFila's own apps.
The REST API is openly documented — build a client in any language. OpenAPI 3.1 spec available on request.