Webhooks
Receive real-time event notifications from Pullwish to your own endpoints.
Webhooks
Pullwish can send HTTP POST requests to your own endpoints whenever events occur in your project. Configure webhooks in your dashboard under Settings → Webhooks.
Supported events
| Event | Triggered when |
|---|---|
monitoring.down | A monitored site goes down |
monitoring.recovered | A monitored site comes back up |
error.new | A new error is captured |
error.spike | 10 or more new error reports are stored for the project within 5 minutes |
error.resolved | An error is marked as resolved |
feature.created | A new feature request is submitted |
feature.status_changed | A feature request's status changes |
bug.created | A new bug report is submitted |
bug.status_changed | A bug report's status changes |
changelog.published | A changelog entry is published |
Payload format
All webhook deliveries send a POST request with Content-Type: application/json and a body in the following shape:
{
"event": "error.new",
"projectId": "your-project-id",
"timestamp": "2024-01-15T10:00:00.000Z",
"data": {}
}The data object contains the resource that triggered the event. Its shape varies by event type.
error.spike
This event fires after a new error report is stored, when that project has 10 or more error reports created in the last 5 minutes. data includes projectId, projectName, count, windowMinutes (5), latestErrorId, and severity.
changelog.published
This event fires when a changelog entry becomes public: it is created already published, or a draft is published. Saving an entry that is already published does not send another event. Entries linked to an internal feature are skipped, because those entries are not on the public changelog.
data stays within what the public changelog shows:
| Field | Included when |
|---|---|
title | Always. The public title. |
version | The entry has a version. |
summary | The entry has a public summary. |
body | The entry has a public body. |
{
"event": "changelog.published",
"projectId": "your-project-id",
"timestamp": "2024-01-15T10:00:00.000Z",
"data": {
"title": "Dark mode",
"summary": "Dark mode is now available in settings.",
"body": "Choose a theme from settings."
}
}Discord deliveries of this event use an embed with that title, a version field when one is present, and the public summary or body. The Discord message does not include probe URLs, API keys, internal ids, or error, bug, or feature payloads. The projectId on the JSON envelope is the same public project id used by every other webhook event.
Platform integrations
Pullwish auto-detects the webhook destination and formats the payload accordingly:
| URL pattern | Format |
|---|---|
discord.com/api/webhooks/… | Discord embed |
hooks.slack.com/… | Slack incoming webhook |
webhook.office.com/… / logic.azure.com/… | Microsoft Teams adaptive card |
| Anything else | Generic JSON (payload shown above) |
Testing a webhook
Use the Test button in Settings → Webhooks to send a test payload to your endpoint. The response status, latency, and any error messages are shown in the dashboard.
Delivery
Publishing a changelog sends the POST and waits for it to finish before that API response returns. Delivery is also registered with the server runtime, so the request still completes if a caller returns first. The same sender is used for every event on this page. A status from 200 to 299 is stored as a successful last delivery. Any other status, including a redirect, a timeout, or a network failure, is stored as a failed last delivery. A URL the SSRF allowlist rejects is not requested. That attempt is stored as blocked_by_url_policy, not as a successful delivery. The dashboard shows that result. Pullwish does not retry a failed delivery. Use the test button to verify your endpoint is reachable.
Security
Webhooks are sent over HTTPS. To verify that a delivery originated from Pullwish, check that the request comes from Pullwish's servers and validate any fields you rely on (e.g. projectId matches your own project).
When WEBHOOK_SIGNING_SECRET is set on the server, every project webhook POST includes X-Pullwish-Signature: sha256=<hex>. The hex is HMAC-SHA256 of the raw body using that secret. Changelog, bug, feature, error, and monitoring events use the same header. The secret and the signature are not written to logs. If the variable is unset, the header is omitted.
Team alerts
Project webhooks above are chosen per project in Settings → Webhooks. Separately, the Pullwish operators can be notified when an error report is created or when a resolved, ignored, or closed report occurs again.
That alert is a Discord webhook configured with server environment variables, not in the dashboard. The URL host must be discord.com and is never shown or logged. The message is one embed with the error id, title, severity, occurrence count, timestamp, and a dashboard link. It does not include stack traces or request bodies. Dedupe is stored on the error report: at most one alert per error every 15 minutes, and at most 10 per project in that window. Anyone can send X-Robocop-Scan; those requests are still stored and do not send this alert.
See docs/help/README.md in the repository for the variable names and the payload.