—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.passed
  • release_gate.blocked
  • eval.regression_detected
  • eval.run_completed
  • pipeline.run_started
  • pipeline.run_completed
  • pipeline.run_failed
  • pipeline.stage_failed
  • pipeline.stage_decision_recorded
  • connector.health_changed
  • coding.pr_opened
  • coding.lint_failed
  • coding.test_failed
  • airflow.action_proposed
  • airflow.automation_succeeded
  • airflow.automation_failed
  • api_key.created
  • api_key.revoked
  • billing.threshold_crossed
  • billing.quota_exhausted
  • agent_gateway.request_pending
  • agent_gateway.request_decided
  • agent_gateway.outcome_recorded
  • audit.integrity_failed
  • workspace.access_requested
  • deployment.blocked
  • deployment.freeze_started
  • deployment.freeze_ended
  • deployment.rolled_back
  • webhook.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

The signing secret appears only when you create the endpoint. If you lose it, create a new endpoint and remove the old one.

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.