Developers
Build document → data pipelines in minutes
Send documents. Receive structured JSON.
Schema-defined, async, webhook-ready.
How developers use DocServant
Backend ingestion
Upload documents from your app and receive structured JSON via webhook callbacks.
Automation pipelines
Process invoices, statements, and forms automatically at scale.
Human-in-the-loop
Use Studio for template setup, API for production processing.
Template-first extraction
DocServant uses templates to define the structure of extracted data. Templates act as a contract between documents and outputs.
Define schema (one-time setup)
Create a template in DocServant Studio. Upload a sample document or spreadsheet, select sheets and columns, and define how data should be extracted. This is a one-time configuration step.
API processing
Send documents to the API using the template ID. Jobs run asynchronously and return structured JSON via webhooks.
Structured output
Receive predictable, deterministic outputs that match your template schema.
What you get
API example
Request
POST /v1/documents
Authorization: Bearer sk_live_...
{
"template_id": "invoice_v1",
"file_url": "https://example.com/invoice.pdf"
}Response
{
"job_id": "job_123",
"status": "processing"
}Webhook callback
{
"status": "completed",
"data": {
"invoice_number": "INV-2048",
"total": 1127.52,
"currency": "USD"
}
}Security and data handling
Get started
Read the API documentation and try it with your own documents.