Everything you need to integrate AI-powered document processing into your applications. From quick start guides to advanced API references.
Get started with Datadistill in just a few steps. This guide will walk you through uploading your first document and retrieving structured data.
Sign up for a Datadistill account and grab your API key from the dashboard.
curl -X POST https://api.docusage.com/v1/documents/upload \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@invoice.pdf" \
  -F "document_type=invoice"Processing typically takes 5-10 seconds. Use the document ID to retrieve your structured data.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.docusage.com/v1/documents/doc_123/results/api/documents/uploadfile - The document file (PDF, PNG, JPG, DOC, DOCX)document_type - Optional type hint (invoice, contract, receipt)webhook_url - Optional callback URL for completion/api/documents/id/results{
"id": "doc_123",
"status": "completed",
"confidence": 0.97,
"data": {
"invoice_number": "INV-2024-001",
"total_amount": 1250.00,
"vendor": "TechCorp Inc"
}
}