Outgoing webhooks
Sends your workspace's events to your own systems as they happen. Each event you choose (an order placed, an invoice issued, a payment received and many more) arrives at your address as a signed JSON message. If your system is down, each message is tried again for about a day, and every delivery can be sent again from its log.
| At a glance | |
|---|---|
| Type | Add-on |
| Group | Office |
| Price | Free |
| Provides | Send events to your own systems |
| Needs | Nothing (your plan must include Integrations and webhooks) |
| Offered to | Every industry pack |
| Permission | Manage add-ons (addons.manage) to switch on; Manage integrations (integrations.manage) to set up connections |
Switching it on
- Go to Workspace → Add-ons. Outgoing webhooks is under Office.
- Open its ⋮ menu and choose Enable.
Workspace → Integrations then shows in the menu.
Setting up a connection
- Open Workspace → Integrations. Under Connect a service, press Connect on Outgoing webhook.
- Give it a Name and the Address to send to: a public
https://address of your system. - Under Your own headers, add up to five headers your system asks for, such as
Authorization: Bearer …. Their values are kept encrypted and only ever shown masked. - Tick the Events to send. They are grouped by module, with a search box and Select all / Clear. Example beside an event shows the body it sends.
- Leave Active ticked and press Save.
- Copy the Signing secret shown next, into your system.
Press Send test on the connection's ⋮ menu to check your system answers before real events flow.
What your system receives
Each message is an HTTP POST with a JSON body:
{
"id": "01JD3N8Q5YV4C2X7R9T6M1K0AB",
"event": "invoice.issued",
"occurred_at": "2026-12-04T10:30:00+00:00",
"attempt": 1,
"sent_at": "2026-12-04T10:30:01+00:00",
"workspace_id": 123,
"workspace": "Sharma Traders",
"data": { "invoice_number": "INV-102", "total": "₹1,050.00", "contact_name": "Asha Rao" }
}
| Header | Holds |
|---|---|
X-Modsys-Event |
the event, such as invoice.issued |
X-Modsys-Delivery |
the delivery's id, the same as id in the body |
X-Modsys-Attempt |
which try this is, from 1 |
X-Modsys-Signature |
sha256= and the HMAC-SHA256 of the exact body, made with the signing secret |
X-Modsys-Signature-Previous |
the same, made with the old secret, for 24 hours after you roll it |
| your own headers | as you set them |
- Answer with any 2xx within 10 seconds to say you have it. Redirects are not followed.
- The same delivery can arrive more than once (a try that timed out on our side may have reached you). Keep the
ids you have handled and skip a repeat. - Messages can arrive out of order. Use
occurred_atto order them. dataholds the event's fields, the same ones an automation reads. Times are the workspace's own clock.
Checking the signature
Work out the HMAC-SHA256 of the raw body you received, with your signing secret, and compare it with X-Modsys-Signature. Refuse the message if they differ. To refuse an old message replayed at you, also refuse a sent_at more than a few minutes old.
PHP:
$body = file_get_contents('php://input');
$expected = 'sha256='.hash_hmac('sha256', $body, $secret);
$valid = hash_equals($expected, $_SERVER['HTTP_X_MODSYS_SIGNATURE'] ?? '');
Node.js:
const crypto = require('crypto');
const expected = 'sha256=' + crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
const given = req.get('X-Modsys-Signature') || '';
const valid = given.length === expected.length && crypto.timingSafeEqual(Buffer.from(given), Buffer.from(expected));
Read the body exactly as it arrived: parsing and re-encoding the JSON changes the bytes, and the signature with them.
Rolling the signing secret
Choose Roll the signing secret on the connection's ⋮ menu and confirm. A new secret is made at once and shown to copy. For the next 24 hours each message also carries X-Modsys-Signature-Previous, made with the old secret, so your system can accept either while you switch it over. Signing secret on the menu shows the current one again.
When your system does not answer
- Each delivery is tried up to seven times over about 20 hours: at once, then after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours. Any answer that is not 2xx is tried again, and an answer of HTTP 429 with Retry-After is waited for, up to an hour.
- Deliveries on the connection's ⋮ menu lists every message, with a status filter (Delivered, Will retry, Failed, Sending) and an event filter. View shows each try's HTTP answer, the first 1,000 characters of what your system said, how long it took and the exact body. Send again sends it once more; Try now sends one that is waiting.
- After five deliveries in a row fail every try, the connection pauses itself. The owner and everyone who manages integrations are told in the bell and by e-mail. Fix your system, check Deliveries, send the failed ones again, and press Resume.
- Deliveries are kept for 30 days.
Turning it off
Turn off on the add-on's ⋮ menu asks first. Every outgoing webhook connection goes quiet at once and says The Outgoing webhooks add-on is switched off; nothing is sent, and nothing raised meanwhile is sent later. The connections are kept, so switching it on again needs nothing re-entered. You can still pause or delete them.
Ready-made automations
None. Each connection already sends the events it was set up with; there is no moment of its own to automate.
In the desktop and mobile apps
Nothing to do there: events are sent from the server, whichever app or screen raised them.
Related guides
- Integrations, Slack, Discord
- Module guides index