Webhooks
Webhooks deliver real-time events from DocPeel to your server. Configure endpoints from Dashboard → Webhooks and select the events you want to receive.
How it works
- You register an HTTPS endpoint and pick events.
- When an event fires, DocPeel sends a signed
POSTrequest with a JSON body. - Your endpoint must respond with
2xxwithin 10 seconds. - On non-2xx or timeout, DocPeel retries with exponential backoff for up to 24 hours.
Headers we send
| Header | Description |
|---|---|
X-DocPeel-Event | Event type, e.g. extraction.completed. |
X-DocPeel-Delivery | Unique delivery ID. Use it for idempotency. |
X-DocPeel-Signature | HMAC-SHA256 signature of the raw body. |
X-DocPeel-Timestamp | Unix timestamp (seconds) the event was emitted. |