Skip to content
API v1 · 1.0.0-draft.1
Go to console
Contents ↓

API reference / Webhooks

EVENT

Webhook events

When a document or batch changes state we send a signed POST to your registered webhook URL. Verify it with the signature headers and respond with 2xx.

Event

document.completedAll fields are final (verified or human-reviewed)
document.needs_reviewSent once when a document enters in_review. Under partial delivery the verified part is ready.
document.rejectedDocument moved to rejected (intake gate or type detection). Sent for every rejection.
document.result_correctedA delivered result has a new version with corrected fields; fetch the result again
document.failedSystem failure after all internal retries (not billed); safe to upload again
batch.progressThrottled progress (at most every 30 seconds or every 10 percent per batch)
batch.completedBatch closed and every document is in a final state

Request headers

webhook-idstringrequired
Event id (evt_...). Same value on every retry; use it to drop duplicates.
webhook-timestampintegerrequired
Unix seconds. Reject if more than 5 minutes away from your clock.
webhook-signaturestringrequired
Space-separated list of v1,<base64> signatures (Standard Webhooks 1.0.0). Each is HMAC-SHA256 over {webhook-id}.{webhook-timestamp}.{raw body} with the base64-decoded part of the whsec_ secret. Two signatures appear during secret rotation.
Last updated: 23 Nov 2026