Instead of polling for document status, register a webhook URL and SANNOS will push notifications to you the moment a document finishes processing.

1. Register your endpoint

Your URL must be HTTPS and respond within 10 seconds.
The response includes a secret field — copy it immediately and store it securely. It is shown only once and cannot be retrieved later.

2. Receive events

SANNOS sends a POST request to your URL with this structure:

3. Verify the signature

Every delivery includes an X-EVE-Signature header. Verify it before processing:
Always use a timing-safe comparison — never plain string equality. Python:
JavaScript / Node.js:
C# / .NET:

4. Respond with 2xx

Return any 2xx status code to acknowledge receipt. SANNOS retries up to 5 times on failure, with increasing delays (1s → 5s → 30s → 2min). After 10 consecutive failures, the webhook is automatically deactivated — call PUT /v2/webhooks to re-activate.