Skip to main content
RecordEngine uses outbound webhooks to push data to your external systems the moment something happens — a document is approved, a contact is created, a folder is updated. Instead of polling the API for changes, your systems receive the data automatically.

The Three Webhooks

RecordEngine supports three independent webhook channels, each covering a different type of event: Configure each webhook URL independently in Settings → Webhooks.

Configuring Webhook URLs

  1. Go to Settings → Webhooks
  2. Paste your receiving URL into the appropriate field
  3. Click Save
Settings page showing webhook URL configuration
Not sure if your receiver is working? Use webhook.site to get a free temporary URL. Paste it into the Document Webhook field, export any document, and you’ll see the exact payload in your browser within seconds.

Document Webhook Payload

This is the most important webhook — it carries the full structured output from the AI extraction.

Field Reference

The keys inside extracted_fields are determined by your extraction profile — they match the field labels you defined, converted to snake_case. A profile with a field labelled “Invoice Number” produces "invoice_number" in the payload.

Contact Webhook Payload

Fires when a contact is created or updated via the UI or API.

Folder Webhook Payload

Fires when a folder is created or updated.

Authentication

Every webhook POST from RecordEngine includes your API token in the Authorization header:
Your receiver should validate this header to confirm the request came from your RecordEngine instance. See Authentication for example validation code in Python and Node.js.

Responding to a Webhook

Your webhook receiver must return an HTTP 200 response. RecordEngine considers any non-200 response a failure. Keep your receiver fast — do any heavy processing asynchronously after returning 200:

Testing Your Webhook

Option 1 — webhook.site (no code needed)
  1. Go to webhook.site and copy the unique URL
  2. Paste it into Settings → Document Webhook URL in RecordEngine
  3. Export any document
  4. Refresh webhook.site — you’ll see the full request headers and JSON payload
Option 2 — local testing with a tunnel If you’re developing a local receiver, expose it to the internet using a tunnelling tool so RecordEngine can reach it. Run the tunnel command, copy the public URL, and paste it into RecordEngine Settings.

Triggering the Document Webhook

The document webhook fires only when a document reaches Export status. To trigger it:
  1. Process a document through to Approved status
  2. Click Webhook Export — status changes to Export
  3. Webhook fires within a few seconds
You can also automate this using the Rules Engine — create a rule that automatically sets documents to Export status when certain conditions are met, without any manual click required.