Example subscription
User Uploads
User Uploads.ocr_completed webhook
The user_uploads.ocr_completed webhook is sent when Ocrolus OCR data is available for an uploaded document.
- This webhook is sent on a per document basis.
- If any OCR errors occurred, this webhook will not be sent. Instead the
user_uploads.ocr_failedwebhook will be sent. Errors will be listed in theocr_dataobject of the user uploads object in anerrorfield.
POST
Example subscription
Authorizations
Username = api_key_id, Password = api_key_secret
Body
application/json
List of events to subscribe to.
Example:
["user_uploads.ocr_completed"]Name for the webhook subscription.
Example:
"name-for-the-webhook-subscription"
The URL where webhook notifications will be sent.
Example:
"https://your-webhook-backend.com"
Optional secret used to verify webhooks.
Example:
"optional-secret"