Webhooks

Signature

Webhook endpoints receive job and account events. Payloads are signed with HMAC-SHA256.

X-Paperoffice-Signature: sha256=<hex_hmac>
Compute: HMAC_SHA256(webhook_secret, raw_request_body)
Reject the request if the signatures do not match.

Events

Events: job.completed, job.failed, job.progress, document.*, workspace.*, task.* or *.

Account-level notices (empty wallet, revoked key) are not webhook events.

Subscription

Webhooks are registered, listed, updated, tested and deleted via the API.

EndpointAction
POST /webhooks/subscribeRegister a webhook
GET /webhooks/listList subscriptions
POST /webhooks/updateUpdate a subscription
POST /webhooks/testTest delivery
POST /webhooks/deleteDelete a subscription

Live parameter lists: llms.txt.

Related