Webhooks
Webhooks let Vulnotes send notifications to external services when certain events happen. Configure them in Administration > Settings > Webhooks.

Supported platforms
Vulnotes can send webhook notifications to:
- Discord - sends formatted embeds to a Discord channel
- Slack - sends messages to a Slack channel
- Microsoft Teams - sends adaptive cards to a Teams channel
- Element (Matrix) - sends messages to a Matrix room
- Generic HTTP - sends a JSON payload to any URL
Events
Each webhook can subscribe to these report status changes:
- Needs Review
- Under Review
- Completed
Create separate webhooks when different services or teams need different notifications. Each webhook has its own name, destination, event selection, and enabled switch. Generic webhooks can include custom headers and a signing secret; Element also needs a room ID and access token.

Webhook URL
The Webhook URL must use HTTPS and resolve to a public address. Vulnotes rejects localhost, *.internal host names, private and other non-public networks, and URLs that contain a user name or password. This also applies to self-hosted instances, so an endpoint on your internal network cannot receive webhooks.
Vulnotes does not follow redirects. Any status outside the 2xx range counts as a failed delivery.
When you change the URL or the platform of an existing webhook, Vulnotes clears its Webhook Secret, Element Access Token, and Custom Headers values, unless you enter new ones in the same save. Credentials saved for one destination are never sent to another.
Generic HTTP payload
A generic webhook receives a POST request with a JSON body:
{
"event": "report.needs_review",
"timestamp": "2026-10-26T09:30:00.000Z",
"data": {
"report": {
"id": "6718f3c2a9e4b1d2c3f40a51",
"title": "External assessment",
"status": "waiting-for-review",
"language": "EN",
"createdAt": "2026-10-20T08:12:45.000Z",
"updatedAt": "2026-10-26T09:29:58.000Z"
},
"author": {
"id": "66f1a0b7c2d3e4f5a6b7c8d9",
"name": "Alice Martin",
"email": "alice@example.com"
},
"company": {
"id": "66f1a0b7c2d3e4f5a6b7c8e0",
"name": "Acme Corporation"
},
"url": "https://acme.vulnotes.app/reports/6718f3c2a9e4b1d2c3f40a51"
}
}event | data contains |
|---|---|
report.needs_review | report (id, title, status, language, createdAt, updatedAt), author (the report creator: id, name, email), company (null when the report has none), url |
report.under_review | report (id, title, status, language), reviewer (id, name, email), url |
report.completed | report (id, title, status, language, completedAt), url |
test | message, timestamp |
Each request has these headers, plus your Custom Headers:
X-Webhook-Event- the event nameX-Webhook-Timestamp- when the request was sent, in ISO 8601X-Webhook-Signature-sha256=followed by the hex HMAC-SHA256 of the raw request body, using the Webhook Secret as key. Sent only when a secret is set.
To verify a request, compute the HMAC over the body bytes exactly as received, before parsing the JSON:
import hashlib
import hmac
def is_valid(raw_body: bytes, signature: str, secret: str) -> bool:
expected = "sha256=" + hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, signature or "")Testing
After creating a webhook, use the Test button to send a sample payload. This verifies that the URL is correct and the target platform receives the notification properly.
