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.

1

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.

2

API processing

Send documents to the API using the template ID. Jobs run asynchronously and return structured JSON via webhooks.

3

Structured output

Receive predictable, deterministic outputs that match your template schema.

What you get

Schema-defined extraction
Async job processing
Webhook callbacks
JSON, CSV, XLSX outputs
Batch processing
Deterministic templates
No training on customer data by default

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

Encrypted in transit
Configurable data retention
GDPR-friendly
No training on customer data by default

Get started

Read the API documentation and try it with your own documents.