Have Scratchboard send an HTTP request to your endpoint when records, approvals, workflows and more change, check each request's signature, and handle retries, switch-off and replay.
An event webhook sends an HTTP POST request to an address you choose (your endpoint) each time something happens in
Scratchboard: a record is created, an approval is resolved, a workflow fails. Every request is signed so your endpoint can
check that it came from Scratchboard.
Where to find it
Open Sidebar → Admin → Webhooks. The Event Webhooks page lists your endpoints and how many your plan allows.
Click an endpoint to open it: the Deliveries tab lists what was sent, the Details tab shows its settings.
Before you start
Webhooks depend on your plan, which also sets how many endpoints you can have. Check it under Admin → Subscription.
You need permission to create webhooks. Testing, editing, revealing or rolling the secret and replaying need the
permission to change webhooks; deleting needs the permission to delete them.
Your endpoint must be a public https address that answers within 30 seconds with a status in the 200 range.
Steps
Click Add Endpoint
Enter the Name, Endpoint URL and, if you like, a Description
Choose the Events to subscribe
Turn on All events, or search and tick the events you need. For events about a module (all except Notification
Created), click the module badges under the event to send it only for those modules; with none chosen it fires for
every module. Pick at least one event.
Add Custom headers if your endpoint needs them
For example an Authorization token your endpoint checks. Up to 20 headers. Saved values are masked.
Save and copy the signing secret
The Signing secret dialog shows the secret: "Copy it now. You can reveal it again later only with update
permission." Store it in your endpoint.
Click Test
Scratchboard sends a test event (type test.ping). You see "Test passed! 200 in …ms" or "Test failed: … in …ms".
Events you can subscribe to
Group
Events
Records
Record Created, Record Updated, Record Deleted, Bulk Create, Bulk Update, Bulk Delete
Entity Schema Changed (a module, field or layout changed)
Notes
Note Added
AI search
Vector Index Created, Vector Index Deleted, Vector Reindex Completed
There are no payment events. To react to a payment, build a workflow that runs when the record's payment status changes
and calls your system with a Call Webhook step and an API connection.
Each request body is JSON with the event's id, type, apiVersion, created time and a data object (the module,
the record id or ids, who made the change, the changed fields, and where the change came from, for example an
integration, so you can ignore changes your own system made).
Check the signature
Every request carries these headers:
Header
Content
X-Webhook-Id
The delivery's id. A retry of the same delivery keeps it, so use it to ignore duplicates
X-Webhook-Timestamp
When it was sent, in Unix seconds
X-Webhook-Signature
t=<unix seconds>,v1=<hex signature>
To check a request in your endpoint:
Read t and v1 from X-Webhook-Signature.
Compute the HMAC-SHA256 of <t>.<raw body> (the timestamp, a full stop, then the body exactly as received) with your
signing secret, as hex.
Compare it with v1 in constant time. Refuse the request if they differ.
Refuse the request if t is more than 5 minutes old.
To see the secret again, open the endpoint's Details tab and click Reveal (each view is recorded in the audit
log). Roll makes a new secret; the old one stops working at once, so update your endpoint straight away.
Retries, switch-off and replay
Retries. When your endpoint does not answer in time or answers with an error, the delivery is tried again up to 4
more times, about 5 minutes, 30 minutes, 2 hours and 24 hours after the previous try.
Manual retry. On the Deliveries tab you can retry a delivery yourself, up to 10 times per delivery. Filter the
list by All deliveries, Failed, Retrying, Pending, Successful, Held (endpoint disabled) or
Discarded.
Warning. When deliveries fail after all their retries, the endpoint shows "Deliveries are failing" and how many
failed in a row.
Automatic switch-off. When no delivery has succeeded for 72 hours and at least 10 deliveries in a row failed, the
endpoint is disabled. Every workspace admin gets an in-app notification and an e-mail: Webhook endpoint
"<name>" was disabled.
Held events and replay. While the endpoint is switched off automatically, new events are kept for 7 days. Fix your
endpoint, open it, and click Re-enable & replay (choose Only events since (optional) to send only recent
ones), Re-enable only, or Discard the held events. If you switched the endpoint back on with its switch,
the banner offers Replay held events or Discard instead. With no events held, the button reads Re-enable.
Good to know
You can switch an endpoint off and on yourself with its switch (Endpoint enabled). Events are held only when it
was switched off automatically.
An endpoint with the same address, events and module filters as another is refused, and only a few endpoints may send to the same
host: subscribe one endpoint to several events instead.
To delete an endpoint, open it and click delete.
Troubleshooting
Message or symptom
Why
What to do
"Test failed: … in …ms"
Your endpoint answered with an error or not at all
Check your endpoint's logs and that it answers 2xx within 30 seconds
"Webhook endpoint limit reached: this workspace can have at most … endpoints…"
You reached your plan's number of endpoints
Delete an endpoint you no longer use
"An endpoint with the same URL and events already exists (…)"
It would duplicate an endpoint
Edit the existing endpoint
"At most … endpoints may send to …"
Too many endpoints point at the same host
Subscribe one endpoint to several events
"This endpoint is disabled — enable it before retrying deliveries"
The endpoint is off
Enable it first
"This delivery was already retried 10 times by hand — fix the receiver, then send a test event"
The manual retry limit for this delivery is used up
Fix your endpoint and click Test
"Webhook URL rejected: …"
The address is private, internal or not allowed
Use a public https address
Your endpoint refuses every request
Wrong secret, or the body was changed before checking
Use the current secret and the raw body exactly as received