Submit a document for processing
Deprecated: prefer /v1/pipelines for new integrations; this endpoint remains supported.
Upload a document and trigger a configured processing pipeline. Always returns 202. Results delivered via process.completed webhook.
Idempotency is automatic: the same (config_id, batch_id, file) combination returns the existing run without re-processing. If batch_id is absent, dedup applies within a 24-hour window.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body multipart/form-data
Processing configuration ID (from GET /v1/configs).
Optional batch identifier. Enables permanent dedup for this (config, batch, file) triple.
Document file to process. Max 500 MB.
Optional JSON string with additional metadata.
Example request
{
"config_id": "cfg_bridgeway_invoice_v1",
"batch_id": "BW-2026-0512-001"
}Response
Idempotency hit — returning existing run result.
OCR-converted markdown (on completion).
Structured extraction results (on completion). Shape forks on document count: a SINGLE-document run returns one flat field_key -> value object; a MULTI-document run returns an array of those row objects. A review-held cell arrives as null. Values are the typed projection (subfields cast to their declared types), matching the run.completed webhook byte-for-byte. Prefer records[] for new integrations — it is always an array and binds each row to its source document.
Reconciliation results (on completion).
Error detail (on failure).
Example response
{
"structured_data": {
"invoice_date": "2026-08-07",
"carrier_name": "ACME LOGISTICS",
"total_carrier_pay": "1400.00",
"bill_to_name": null
}
}Changes
No recorded changes to this operation across all 32 revisions of this API.