—Workspace · Integrations
Receive signed events.
Owners and admins add endpoints on Control → Webhooks. V19 posts a JSON event for each subscribed kind, signs it with the endpoint's secret, and retries failures.
01
Events
Subscribe an endpoint to the events it needs, or to all of them:
release_gate.passedrelease_gate.blockedeval.regression_detectedeval.run_completedpipeline.run_startedpipeline.run_completedpipeline.run_failedpipeline.stage_failedpipeline.stage_decision_recordedconnector.health_changedcoding.pr_openedcoding.lint_failedcoding.test_failedairflow.action_proposedairflow.automation_succeededairflow.automation_failedapi_key.createdapi_key.revokedbilling.threshold_crossedbilling.quota_exhaustedagent_gateway.request_pendingagent_gateway.request_decidedagent_gateway.outcome_recordedaudit.integrity_failedworkspace.access_requesteddeployment.blockeddeployment.freeze_starteddeployment.freeze_endeddeployment.rolled_backwebhook.ping
Choose Send test to deliver a webhook.ping event and see the response under recent deliveries.
02
Verify every delivery
Each request carries these headers: X-VXL-Event-Id (unique per event; use it to ignore duplicates), X-VXL-Event-Type, X-VXL-Timestamp (Unix seconds), X-VXL-Attempt and X-VXL-Signature.
The signature is the hex HMAC-SHA256, keyed with the endpoint's signing secret, of the timestamp, a full stop and the raw body: {timestamp}.{body}. Compute it over the exact bytes you received, compare in constant time, and refuse timestamps more than five minutes old.
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody: the exact request body bytes, before JSON parsing.
export function verifyV19Webhook(rawBody: string, headers: Headers, secret: string): boolean {
const timestamp = headers.get("x-vxl-timestamp") ?? "";
const signature = headers.get("x-vxl-signature") ?? "";
// Refuse old deliveries so a captured request can't be replayed later.
if (!/^\d+$/.test(timestamp) || Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
const expected = createHmac("sha256", secret).update(`${timestamp}.${rawBody}`).digest();
const given = Buffer.from(signature, "hex");
return given.length === expected.length && timingSafeEqual(given, expected);
}The secret is shown once
03
Retries
Answer with any 2xx status within 10 seconds to acknowledge. V19 retries a delivery that times out, can't connect, or gets a 5xx, 408 or 429 response, up to 8 attempts in total, waiting about 30 seconds, 1 minute, 5 minutes, 30 minutes, 1 hour, 6 hours and 12 hours between them. Other 3xx and 4xx responses are final. V19 never follows redirects, so point the endpoint at its final address.
04
Which addresses are accepted
Endpoints must use HTTPS on port 443, or a port above 1023, and must not contain a user name or password. V19 refuses loopback, private, link-local, carrier-grade NAT, benchmarking, documentation and other special-use addresses, including IPv6, IPv4-mapped, NAT64, 6to4 and Teredo forms, and checks where a host name points before every delivery, so a public name that resolves to an internal address is refused too.