01 PRODUCT SYSTEM
A document job with a fixed destination.
Docparser accepts a source URL, selects the document contract before reading it, and returns structured data your system can inspect—not a free-form answer.
DOCUMENT JOB / CONTRACT
- 01
source URL→ - 02
typeId + schema→ - 03
structured payload→ - 04
webhook or retrieve
02 PIPELINE
The schema is chosen before extraction.
Select a live typeId for the document you are sending. That schema
defines the expected shape, including summary fields and line items where the
document type supports them.
-
Submit
Send a PDF or image URL with your document type.
-
Select schema
A fixed field contract frames extraction for that document.
-
Extract
The document is read into summary fields and line items.
-
Deliver
Receive the result at your webhook or retrieve the job.
03 SUBMISSION MODES
Send the source in the form the job expects.
The API infers the mode from the request body: attachments first, then multiple document URLs, then the single-document shape.
- 01
documentUrlOne document URL
Submit a PDF or image URL when one source contains one document to process.
- 02
documentUrls[]Many image URLs
Submit ordered image URLs and choose a single-invoice or multiple-invoice processing mode.
- 03
attachments[]Email attachments
Send attachment URLs with the email subject and body for the email-specific workflow.
04 MEASURED JOB
Time, shown as a trace—not a promise.
This early one-job production trace measured 18.4 s end to end. The model call dominated that run; Different documents, sources and upstream conditions will vary.
Docparser Labs · n = 1 production job · measured 2026-07-24
- Queue 15 ms
- Source download 525 ms
- Model call 14.5 s
- Webhook 203 ms
- ≈3.2 s uninstrumented remainder (derived from rounded total) ≈3.2 s
05 JOB STATES
A status you can follow.
Submit returns a job identifier and your consumerRefId. Retrieve by that
reference from the organization that created it.
- 01
initiatedAccepted and queued with your correlation reference.
- 02
extractingThe selected document contract guides model extraction.
- 03
processedStructured data is persisted and ready for delivery or retrieval.
- 04
errorThe job records a failure state and its delivery attempt.
06 DELIVERY
Choose push, pull, or both.
A webhook path is joined to the base URL registered on the API key. Or retrieve the persisted job later with the same organization credentials.
- WEBHOOK Push on completion
- Receive the processed or error payload at the callback path attached to the job.
- RETRIEVE Poll by reference
- Poll by your
consumerRefIdwhen your workflow wants to own the timing.