Documentation
Guides and API reference for the Document Conversion Service.
Overview
The Document Conversion Service turns PDFs, Word documents and images into validated, machine-readable JSON. Upload a file, poll (or receive a webhook) and fetch the structured result.
Production API base URL: https://document-conversion-service-q3q1.vercel.app. All document, webhook,
API-key, usage and billing routes live under /api/v1.
Authenticate
Send your API key on every protected request:
curl https://document-conversion-service-q3q1.vercel.app/api/v1/documents \
-H "X-API-Key: dcs_..." Where to go next
Quickstart
Run the stack locally, seed an API key and convert your first document in a few minutes.
API reference
Every endpoint, the authentication header and the shape of the responses.
Authentication
Scoped API keys sent as X-API-Key, plus bearer tokens when OIDC is enabled.
Health checks
Liveness at /health and dependency readiness at /health/ready.
Your first request
curl -X POST https://document-conversion-service-q3q1.vercel.app/api/v1/documents/async \
-H "X-API-Key: $DCS_API_KEY" \
-F "file=@invoice.pdf" \
-F "priority=normal"
The response contains a document ID. Poll
/api/v1/documents/{id}/status until it reports
completed, then read the result from
/api/v1/documents/{id}/result.