Webhooks
Webhooks send a real-time HTTP request to an external system whenever a contact, work, document, or payment changes in BeanRails. Use them to push data into another tool — a Zapier or Make scenario, an internal dashboard, an accounting system — without polling for changes.
Accessing Webhooks
Click the gear icon in the top bar, then choose Webhooks under Automation & Data.
Unlike most settings pages, Webhooks is open to every team member, not just owners and managers. What you can do there depends on your role — see Who can do what below.
Two kinds of webhook
| Organisation webhook | Personal webhook | |
|---|---|---|
| Fires for | Every matching event across the whole team | Only records you own |
| How many | Up to 5 per team (default) | One per member |
| Who can manage | Team owner and members with Manage Settings | Each member manages their own |
An organisation webhook is the right choice for a team-wide integration. A personal webhook is for a member who wants their own records pushed somewhere without seeing everyone else's.
A personal webhook is always scoped to records you own, regardless of your other role permissions. If your role is later changed so it no longer allows personal webhooks, deliveries stop immediately — the webhook is not deleted, and re-granting the permission resumes it.
Creating a webhook
- Click Add Webhook (organisation) or Create (personal).
- Fill in the fields below.
- Click Save.
| Field | Description |
|---|---|
| Name | A label to recognise the webhook by, e.g. Zapier integration. Optional |
| URL | The HTTPS endpoint that will receive the POST request. Required |
| Events | Tick the events to subscribe to — see Events |
| Active | Untick to pause deliveries without deleting the webhook |
The signing secret is displayed once, immediately after you create the webhook, and is never shown again. Copy it before closing the dialog. If you lose it, delete the webhook and create a new one.
Events
Events are named entity.action. Tick any combination of the four entities against the three actions:
| Entity | created | updated | deleted |
|---|---|---|---|
| Contact | ✅ | ✅ | ✅ |
| Work | ✅ | ✅ | ✅ |
| Document (quotations and invoices) | ✅ | ✅ | ✅ |
| Document Payment | ✅ | ✅ | ✅ |
What BeanRails sends
Each delivery is a POST with a JSON body:
{
"event": "work.updated",
"entity_type": "work",
"entity_id": 1234,
"team_id": 56,
"occurred_at": "2026-08-14T09:30:00+08:00",
"data": { }
}
data holds a snapshot of the record at the time of the event.
Three headers are included:
| Header | Contents |
|---|---|
X-Webhook-Signature | HMAC-SHA256 of the raw request body, signed with your webhook secret |
X-Webhook-Event | The event name, e.g. work.updated |
X-Webhook-Id | The internal ID of the webhook that sent it |
Verifying the signature
Compute an HMAC-SHA256 of the raw request body using your signing secret, then compare it to X-Webhook-Signature. Verify against the raw bytes, not a re-serialised copy of the parsed JSON — re-serialising changes the body and the signature will not match.
Delivery and retries
- Each request times out after 10 seconds
- A response in the 2xx range counts as success
- Responses of 400, 401, 403, 404, 410 or 422 are treated as a permanent rejection and are not retried
- Timeouts, connection failures and other error responses are retried up to 3 attempts, waiting 30 seconds then 2 minutes
Deliveries are queued, so they do not block the action that triggered them.
Testing a webhook
Click the play icon on any webhook to send a test delivery immediately. The test payload uses the event name webhook.test and a fixed message body, and it is recorded in the delivery logs like a real event. Testing is limited to 10 attempts per minute.
Delivery logs
Click the history icon to open the delivery log for a webhook. Each entry shows the event, success or failure, the HTTP status, the attempt number and how long the request took. Expand an entry to see the request URL, the full request payload and the response body.
Filter the list by Success / Failed, or by a specific event type.
Log retention
The strip between the two cards sets how many days delivery logs are kept — 1 to 365 days, defaulting to 30. This applies team-wide to both organisation and personal webhook logs. Only owners and managers can change it; everyone else sees the current value.
Who can do what
| Action | Who |
|---|---|
| Open the Webhooks page | Every team member |
| Create, edit and delete organisation webhooks | Team owner, or a role with Manage Settings |
| Change the log retention period | Team owner, or a role with Manage Settings |
| Create and edit a personal webhook | Team owner, or a role with Create Personal Webhook |
| Delete your own personal webhook | Always allowed, even if the permission was later revoked |
See Roles & Permissions to grant Create Personal Webhook to a role.
Deleting a webhook stops deliveries immediately and cannot be undone. To pause one temporarily, untick Active instead.