Webhook events and payloads
This page is for staff Admins who set up webhooks, and for developers who write the receiver. It lists the events a webhook can be told about, shows exactly what is sent in each format, and explains the headers, the timeouts, the retries and when a webhook turns itself off. Setting a webhook up is on Webhooks, and checking its signature on Verifying webhooks.
What a webhook is told
Section titled “What a webhook is told”A webhook is an address that Adiutor sends what happens to requests to: a system of the staff’s own, as signed JSON, or a chat channel, as a message. Each webhook chooses:
- Its events, at least one, from the table below.
- Its request types: All request types (new ones too), or Chosen types.
- Its format: Signed JSON or Chat message.
A webhook hears of a change when it’s on, it chose the change’s event, and it covers the request’s type, whoever made the change. A change of a request’s type reaches the webhooks of the type it had and of the type it got, each once. Internal requests, the staff’s own, are told like any other request, with their company as null.
Each event is a choice of its own in the webhook’s Send list:
| Event | Label in Settings | Told when |
|---|---|---|
raised |
Requests raised | A request is raised, also one the staff raise for someone at the company. Carries the description. |
reply |
Replies | Someone replies, from either side. A reply sent as the solution, and the reason someone gives when they deny a solution, are replies too. |
note |
Internal notes | The staff add an internal note. |
status |
Status changes | A status changes, whoever changed it: the staff, a company Admin or Client, an approval or denial, or a company reply that moves the request from waiting to In progress. |
assignee |
Assignees | A staff member is assigned to a request, or removed from it, also when someone is taken off all their requests at once. |
details |
Title, type and priority | Someone changes a request’s title, type or priority. Each field changed is an event. |
deadline |
Missed deadlines | One of a request’s SLA deadlines is missed: its response or its resolution, each once, whether its time ran out or a late reply or close missed it. Nobody did it, so it has no by. A webhook gets it only once it chooses it. |
Edits to a description or a reply, subscribers, and files don’t send an event.
How news arrives
Section titled “How news arrives”- Batched. The news about one request for one webhook that is queued between two runs of the background jobs goes out as one delivery, with its events in order. A reply and the status change it brought are one delivery, not two. The background jobs usually run every 5 minutes, so a webhook hears of a change at the next run, not at the moment it happens. See Background jobs.
- Read when it’s sent. The request and its events are read as they are at that moment, so a text edited in between goes out as it is by then.
- At least once. An attempt that was sent but couldn’t be recorded is sent again with the same
webhook-id. Drop what you already have bywebhook-id, or by an event’sid. - Names only. People appear as the request’s page names them, by name and side (
companyorstaff). Never an email address, a user ID, a link that signs anyone in, or who did something while signed in as someone else. Once someone’s account is gone, their side’s name stands in: the company’s name, or the staff’s.
The JSON format
Section titled “The JSON format”Every delivery is an HTTP POST of one JSON object with the Standard Webhooks shape: type, timestamp and data. A request update has the type request.updated.
{ "type": "request.updated", "timestamp": "2026-11-30T10:05:00.000Z", "data": { "request": { "id": "019a0000-0000-7000-8000-000000000006", "number": 6, "reference": "AD-6", "title": "Checkout shows an error after paying", "status": "proposed", "type": { "key": "bug", "name": "Bug" }, "priority": "high", "company": { "id": "019a0000-0000-7000-8000-0000000000a1", "name": "Adiutor Alpha" }, "url": "https://adiutor.dev/requests/6?entry=019a0000-0000-7000-8000-0000000000e1#entry-019a0000-0000-7000-8000-0000000000e1", "raisedAt": "2026-11-30T09:12:00.000Z", "lastActivityAt": "2026-11-30T10:00:00.000Z" }, "events": [ { "type": "reply", "id": "019a0000-0000-7000-8000-0000000000e1", "at": "2026-11-30T10:00:00.000Z", "by": { "name": "Morgan Manager", "side": "staff" }, "text": { "format": "markdown", "text": "Fixed in the latest release. Please try paying again." } }, { "type": "status", "id": "019a0000-0000-7000-8000-0000000000e2", "at": "2026-11-30T10:00:00.000Z", "by": { "name": "Morgan Manager", "side": "staff" }, "from": "in_progress", "to": "proposed" } ] }}The request
Section titled “The request”The data.request object describes the request as it is when the delivery is sent.
| Field | Value |
|---|---|
id |
The request’s ID. |
number |
Its number in the series shared by every company, such as 6. |
reference |
The number as people see it, with the staff’s prefix: AD-6. |
title |
The title. |
status |
One of open, todo, in_progress, waiting, proposed, done, cancelled. See the table below. |
type |
The request type as an object: its key, which never changes, and its name. |
priority |
low, normal or high, only for a webhook that chooses Title, type and priority. For every other webhook, the field is left out. |
company |
An object with the company’s id and name, or null for an internal request. |
url |
The address of the request’s page, opened at the first event that has a place there. It never signs anyone in: whoever opens it signs in as usual. |
raisedAt |
When it was raised, as an ISO 8601 time in UTC. |
lastActivityAt |
When it last changed for everyone who reads it, in the same form. |
The status values match the names in Statuses:
| Value | Status |
|---|---|
open |
Open |
todo |
To do |
in_progress |
In progress |
waiting |
Waiting for the company |
proposed |
Waiting for approval |
done |
Done |
cancelled |
Cancelled |
The events
Section titled “The events”data.events lists what happened, in the order of the request’s history. Every event has these fields:
| Field | Value |
|---|---|
type |
The event’s key from the first table: raised, reply, note, status, assignee, details or deadline. |
id |
The ID of the history entry. For raised it’s the request’s ID. |
at |
When it happened, as an ISO 8601 time in UTC. |
by |
Who did it: an object with their name and their side, company or staff. A deadline event has none: nobody did it. |
Then, by kind:
| Kinds | Further fields |
|---|---|
raised, reply, note |
text: an object with format (markdown, or plain for a text written before Markdown) and text, as it is now. A mention is @ and the name. |
status |
from and to, both status values. |
assignee |
change, assigned or unassigned, and person, the staff member’s name, or null once their account is gone. |
details |
field, title, type or priority, and from and to: titles as text, priorities as values, types as objects with key and name. |
deadline |
deadline, response or resolution: which deadline was missed. at is when it was noted, at most a few minutes after it passed. |
A solution is a reply followed by a status event to proposed. The other kinds look like this:
{ "type": "assignee", "id": "019a0000-0000-7000-8000-0000000000e3", "at": "2026-11-30T09:30:00.000Z", "by": { "name": "Alex Admin", "side": "staff" }, "change": "assigned", "person": "Morgan Manager"}{ "type": "deadline", "id": "019a0000-0000-7000-8000-0000000000e5", "at": "2026-11-30T13:15:00.000Z", "deadline": "response"}{ "type": "details", "id": "019a0000-0000-7000-8000-0000000000e4", "at": "2026-11-30T09:31:00.000Z", "by": { "name": "Alex Admin", "side": "staff" }, "field": "type", "from": { "key": "support", "name": "Support" }, "to": { "key": "bug", "name": "Bug" }}The test delivery
Section titled “The test delivery”Send a test on a webhook’s page sends a test while the Admin waits, for at most 10 seconds, and says how it went: “Test delivered: the receiver answered 200.” A webhook that is off can be tested, to check it before turning it on. A test is recorded among the deliveries and never counts towards turning the webhook off. In JSON it is:
{ "type": "webhook.test", "timestamp": "2026-11-30T10:00:00.000Z", "data": { "webhook": { "name": "Procurement" } }}A chat webhook gets a chat message instead: “This is a test message from Adiutor for the webhook “Procurement”. It works.” Tests are signed like every delivery. Tests and deliveries sent again share a limit of 20 per staff Admin per hour.
The chat format
Section titled “The chat format”A Chat message webhook gets a small JSON object with one field, text, which Slack, Google Chat, Mattermost and Discord (with its Slack-compatible address, ending in /slack) show as it is.
- What the message holds. A heading with the request’s reference and title, one sentence per event, and the request’s link on a line of its own.
- Language. The staff’s default language, not each reader’s.
- Texts are shortened. A reply, note or description is cut to 300 characters at a word, with an ellipsis, as plain text: its formatting, link addresses and images are left out.
- Length. The whole message stays within about 3,000 characters. When more events don’t fit, it ends with a line such as “And 2 more changes.” before the link.
- What someone wrote can’t ping or format.
<and>become‹and›, every@is followed by an invisible joiner so@hereor@channeldon’t ping anyone, and image and link markup is broken up. An address written out in full stays one, and a chat app may show a preview of it.
For the request in the example above, a chat webhook gets:
AD-6: Checkout shows an error after payingMorgan Manager replied: Fixed in the latest release. Please try paying again.Morgan Manager proposed a solution.https://adiutor.dev/requests/6?entry=019a0000-0000-7000-8000-0000000000e1#entry-019a0000-0000-7000-8000-0000000000e1The sentences, by event:
| Kind | Sentence |
|---|---|
| Raised | “Avery Alpha raised this request: “ and the excerpt. |
| Reply | “Morgan Manager replied: “ and the excerpt. |
| Note | “Morgan Manager added an internal note: “ and the excerpt. |
| Status | “Morgan Manager proposed a solution.”, “… approved the solution.”, “… didn’t approve the solution.”, “… marked this request as done.”, “… cancelled this request.”, “… reopened this request.”, or “Morgan Manager changed the status from In progress to Waiting for the company.” |
| Assignee | “Alex Admin assigned Morgan Manager to this request.” or “… removed Morgan Manager from this request.” Once the staff member’s account is gone: “… assigned a staff member to this request.” or “… removed a staff member from this request.” |
| Title, type and priority | “Alex Admin changed the title from “Old” to “New”.”, “… changed the type from Support to Bug.”, “… changed the priority from Normal to High.” |
| Missed deadlines | “This request missed its response deadline.” or “This request missed its resolution deadline.” |
Headers
Section titled “Headers”Every delivery, of either format, is signed as the Standard Webhooks specification describes. These headers come with it:
| Header | Value |
|---|---|
webhook-id |
The delivery’s ID, the same on every attempt, so you can drop one you already have. |
webhook-timestamp |
When this attempt was sent, in whole seconds since 1970. Refuse an old one as a replay; 5 minutes is usual. |
webhook-signature |
v1, and the base64 HMAC-SHA-256 of the webhook-id, the webhook-timestamp and the body, joined with dots, keyed with the signing secret’s bytes: the base64 after whsec_, decoded. |
content-type |
application/json. |
user-agent |
Adiutor. |
The signing secret starts with whsec_, is made by Adiutor and is shown once, when the webhook is added or its secret renewed. Verifying webhooks shows how to check a signature, with the specification’s libraries or by hand.
Timeouts, answers and retries
Section titled “Timeouts, answers and retries”Adiutor sends one POST per attempt and then judges the receiver by its status code alone. It reads at most 4 KB of the answer and never keeps it.
- Delivered means any
2xxstatus. - Timeouts. An attempt gives up after 3 seconds when the connection doesn’t open, and after 10 seconds in all. Answer quickly and do the work afterwards.
- Redirects are never followed. A
3xxanswer is a failure. - Any other answer (
4xx,5xx), and an attempt that can’t connect, can’t find the host, can’t trust its certificate or is refused for pointing inside Adiutor’s own network, is a failure too.
A failed attempt is tried again, the same delivery with the same webhook-id. Each wait counts from the attempt before:
| Attempt | Sent |
|---|---|
| 1 | At the run of the background jobs that sends the news. |
| 2 | 5 minutes after attempt 1. |
| 3 | 30 minutes after attempt 2. |
| 4 | 2 hours after attempt 3. |
| 5 | 8 hours after attempt 4. |
| 6 | A day after attempt 5. |
While a webhook is failing, a new delivery’s first attempt waits 5 minutes too, so a receiver that’s down doesn’t hold up the other news. That is six attempts over about a day and a half. After the sixth the delivery is given up and shows Failed. Each retry reads the news afresh and sends only the events and types the webhook still chooses, so unticking Internal notes stops notes at once. A delivery with nothing left is Cancelled.
Being turned off
Section titled “Being turned off”A webhook turns itself off, and nothing more is sent to it, when:
- every attempt has failed for 3 days, counted from the first failure after the last delivery the receiver took;
- its receiver answers
410 Gone, which means it’s gone for good: at once, on that attempt; - its address or signing secret can’t be read any more, for instance after an old auth secret was dropped.
Turning off cancels the deliveries still waiting, records it in the audit log, and emails every active staff Admin: “The webhook “Procurement” was turned off”, with the reason. Its page then says why: Off: kept failing, Off: receiver gone or Off: can’t be read. A staff Admin turns it on again once the receiver works. After Off: can’t be read, they first enter its address again and renew its secret, then turn it on. A webhook that is turned on again then starts with a clean slate, and what happened while it was off isn’t sent.
The delivery log
Section titled “The delivery log”A webhook’s page lists its Deliveries of the last 30 days, newest first. Older ones are deleted. Each shows what it told of, its status, its attempts, the receiver’s last status or how the last attempt failed, and when the next one is due. Never what was sent, or what the receiver answered.
| Status | Meaning |
|---|---|
| Sending | Waiting for its first attempt, or for the next one. |
| Delivered | The receiver answered with a 2xx status. |
| Failed | No attempt worked and none follows: all six failed, or a failure turned the webhook off. A test that failed. |
| Cancelled | The webhook was turned off, or nothing the delivery told of is still wanted or still there. |
The reason for a failed attempt reads one of: “No answer within 10 seconds.”, “Its host name can’t be found.”, “Its address is inside this server’s own network.”, “The connection was refused or broke off.”, “Its certificate or encryption can’t be trusted.”, “It answered with a redirect (302), which webhooks never follow.”, “It answered 500.” or “Its address or secret can’t be read any more.”
Send again gives a delivery that is over one more attempt at the next run, with the same webhook-id. It’s offered only for a webhook that’s on, never for a test.
Addresses
Section titled “Addresses”A webhook’s address must be https:// in production, without a user name or password. Adiutor never sends to its own network: an address that is, or resolves to, a private, loopback, link-local or other reserved address is refused when it’s saved and on every connection. Whoever runs the server can allow a network of their own with WEBHOOK_ALLOWED_NETWORKS, described in Environment variables.
Related
Section titled “Related”- Webhooks: adding, changing and turning off webhooks
- Verifying webhooks
- Environment variables
- Statuses
- Roles and permissions: who may manage webhooks
Adiutor's code is released under the MIT License. The Adiutor name and logo aren’t covered by it; see the notice.
Set in Inter and JetBrains Mono, under the SIL Open Font License (Inter, JetBrains Mono).