Skip to main content
Velor

DocsWebhooks

Webhook events.

Velor sends signed HTTP POST requests to your registered endpoints whenever something meaningful happens in your workspace. Use webhooks to sync conversation state, trigger downstream workflows, and build real-time integrations.

Overview

How webhooks work

Register one or more HTTPS endpoints in Settings → Webhooks. For each endpoint you choose which event types to subscribe to. When a matching event fires, Velor POST’s the signed envelope to your URL.

  • Every request carries two headers: x-velor-timestamp (Unix seconds, UTC) and x-velor-signature (sha256= followed by the HMAC-SHA256 hex of timestamp.rawBody).
  • When you rotate an endpoint’s signing secret, Velor signs each delivery with both keys for 24 hours: the new one in x-velor-signature and the old one in x-velor-prev-signature. Accept either and a rotation never drops a delivery while you roll the new secret out. After 24 hours only the new key is sent.
  • Rotate from Settings → Webhooks, or over the API with POST /api/v1/webhooks/:id/rotate-secret (scope webhooks:write, 20 an hour per workspace). The new secret is returned once. Send an Idempotency-Key so a retry after a lost response replays the same secret instead of rotating again.
  • If the secret leaked, do not wait out the 24 hours: send {"revoke_previous_secret": true} in the body of the rotate call. The old secret stops signing at once (deliveries carry no x-velor-prev-signature), so anything signed with it is rejected by a receiver that verifies against the new secret only. The response’s previous_secret_valid_until is null in that case, and the default (an ISO time 24 hours out) otherwise.
  • Your endpoint should reject replays: drop any delivery with a timestamp more than 5 minutes old. Velor does not enforce this for you, so implement the check in your verifier.
  • Endpoints must return a 2xx status within 10 seconds. Anything else is treated as a failure and queued for retry.
  • Redirects are not followed: a 3xx counts as a failure, so register the final URL.
  • A payload larger than 256 KB is delivered as the same envelope (id, type, created_at, organization_id) with data replaced by { truncated: true, reason: "payload_too_large", original_size_bytes, max_bytes }. Fetch the full object through the API.
  • Your signing secret is per-endpoint. Rotate it in Settings → Webhooks → (endpoint) → Signing secret without downtime by temporarily accepting both old and new secrets.
Payload

Base payload shape

Every webhook delivery shares the same outer envelope. The data field contains event-specific fields documented in the reference below.

TypeScript
// Every webhook delivery shares this envelope.
interface WebhookPayload {
id: string; // unique delivery ID — 32 lowercase hex chars, NOT a UUID
created_at: string; // ISO 8601 timestamp (UTC)
type: string; // e.g. "conversation.created"
organization_id: string; // your workspace UUID
data: object; // event-specific fields (see reference below)
}
  • id identifies the event: 32 lowercase hex characters, not a UUID — store it as text. The same event keeps the same id on every automatic retry and on a manual Retry from the dashboard, and it is also sent as the Idempotency-Key and x-velor-delivery headers. A different event always gets a different id, so deduplicate on it.
  • organization_id matches your workspace UUID visible in Settings → General.
Event reference

All event types

Subscribe to any subset of these events per endpoint. The type field in the envelope always matches the event name exactly.

Conversation

Event
conversation.created
conversation.escalated
conversation.resolved
conversation.tagged
conversation.assigned
conversation.unassigned
conversation.reopened
conversation.snoozed
conversation.merged

Messages

Event
message.created

CSAT

Event
csat.submitted

Voice

Event
voice.call_completed
voice.call_failed
voice.handoff_ready
voice.voicemail_received

Approvals

Event
approval.queued
approval.resolved

Guardrails

Event
hallucination.flagged

Agents

Event
agent.assigned
agent.handoff

Knowledge base

Event
kb.article.published
kb.article.deleted

Platform

Event
webhook.delivery.failed

SLA

Event
sla.breached

Contacts

Event
contact.created
contact.updated
contact.deleted

Escalations

Event
escalation.created
escalation.resolved
Verification

Verify the signature

Always verify the signature before processing a payload. The recommended approach uses verifyEventWebhook from @velorplatforms/sdk, which is not published to npm yet. Until it is, use the raw HMAC implementation below; it is equivalent. Note that verifyWebhookSignature is the verifier for signed action dispatch, a different scheme — it will reject every event webhook.

Using @velorplatforms/sdk

TypeScript
// Not published to npm yet: this is the in-repo @velorplatforms/sdk. Use the raw HMAC version below until it ships.
import { verifyEventWebhook } from "@velorplatforms/sdk";
export async function POST(req: Request) {
const rawBody = await req.text();
// Await it. verifyEventWebhook returns a Promise, and a Promise is always
// truthy — `const ok = verifyEventWebhook(...)` followed by `if (!ok)` is a
// handler that accepts every request, signed or not.
const result = await verifyEventWebhook(
rawBody,
req.headers,
process.env.VELOR_WEBHOOK_SECRET!,
);
// It answers { valid, reason }, not a boolean. The reason is worth logging:
// replay_window_exceeded and signature_mismatch are different problems.
// It also checks x-velor-prev-signature, so for the 24 hours after you
// rotate the signing secret an endpoint still holding the old one verifies.
if (!result.valid) {
return new Response(result.reason, { status: 401 });
}
const payload = JSON.parse(rawBody);
// handle payload.type …
return new Response("ok");
}

Raw HMAC (no SDK)

TypeScript
// Raw HMAC — no SDK dependency
import { createHmac, timingSafeEqual } from "node:crypto";
function verifyVelorWebhook(
rawBody: string,
timestamp: string, // value of x-velor-timestamp header (Unix seconds)
signature: string, // value of x-velor-signature header ("sha256=<hex>")
secret: string,
// Value of x-velor-prev-signature, when present. For 24 hours after you
// rotate the signing secret, Velor signs each delivery with BOTH keys: the
// new one in x-velor-signature and the old one here. Checking both means a
// rotation does not break deliveries while you roll the secret out —
// whichever key you currently hold will match one of them.
prevSignature?: string,
): boolean {
// An unset secret is a misconfiguration, never "valid for any input".
if (!secret) return false;
// Reject a delivery older than five minutes — the replay window — and one
// more than a minute in the future, which is clock drift rather than
// anything you need to accept. A symmetric Math.abs check gives a captured
// delivery five extra minutes of life instead of one.
const skew = Date.now() / 1000 - Number(timestamp);
if (!Number.isFinite(skew)) return false;
if (skew > 300 || skew < -60) return false;
const expected = createHmac("sha256", secret)
.update(`${timestamp}.${rawBody}`, "utf8")
.digest();
// Strip the "sha256=" prefix Velor prepends (Stripe-style)
const matches = (candidate: string): boolean => {
const hex = candidate.startsWith("sha256=") ? candidate.slice(7) : candidate;
const received = Buffer.from(hex, "hex");
if (received.length !== expected.length) return false;
return timingSafeEqual(received, expected);
};
return [signature, prevSignature]
.filter((v): v is string => Boolean(v))
.some(matches);
}

Raw HMAC in Python

Python
import hashlib
import hmac
import time
def verify_velor_webhook(raw_body: str, timestamp: str, signature: str,
secret: str, prev_signature: str | None = None) -> bool:
"""raw_body: the request body exactly as received, before any JSON parsing.
timestamp: x-velor-timestamp (Unix seconds). signature: x-velor-signature.
prev_signature: x-velor-prev-signature, present for 24 hours after a rotation."""
if not secret:
return False
try:
skew = time.time() - float(timestamp)
except ValueError:
return False
if skew > 300 or skew < -60: # replay window / clock drift
return False
expected = hmac.new(secret.encode(), f"{timestamp}.{raw_body}".encode(),
hashlib.sha256).hexdigest()
for candidate in (signature, prev_signature):
if not candidate:
continue
received = candidate[7:] if candidate.startswith("sha256=") else candidate
if hmac.compare_digest(received, expected):
return True
return False

Raw HMAC in Ruby

Ruby
require "openssl"
# Constant-time string comparison that works on any Ruby, without relying on a
# newer openssl gem or on Rack.
def constant_time_equal(a, b)
return false unless a.bytesize == b.bytesize
diff = 0
a.bytes.zip(b.bytes) { |x, y| diff |= x ^ y }
diff.zero?
end
# raw_body: the request body exactly as received, before any JSON parsing.
# timestamp: x-velor-timestamp (Unix seconds). signature: x-velor-signature.
# prev_signature: x-velor-prev-signature, present for 24 hours after a rotation.
def verify_velor_webhook(raw_body, timestamp, signature, secret, prev_signature = nil)
return false if secret.nil? || secret.empty?
sent_at = Float(timestamp, exception: false)
return false if sent_at.nil?
skew = Time.now.to_f - sent_at
return false if skew > 300 || skew < -60 # replay window / clock drift
expected = OpenSSL::HMAC.hexdigest("SHA256", secret, "#{timestamp}.#{raw_body}")
[signature, prev_signature].compact.any? do |candidate|
received = candidate.start_with?("sha256=") ? candidate[7..] : candidate
constant_time_equal(received, expected)
end
end

Raw HMAC in Go

Go
package main
import (
"crypto/hmac"
"crypto/sha256"
"encoding/hex"
"math"
"strconv"
"strings"
"time"
)
// VerifyVelorWebhook reports whether a delivery is genuine and fresh.
//
// rawBody: the request body exactly as received, before any JSON parsing.
// timestamp: x-velor-timestamp (Unix seconds). signature: x-velor-signature.
// prevSignature: x-velor-prev-signature, present for 24 hours after a rotation
// (pass "" when the header is absent).
func VerifyVelorWebhook(rawBody []byte, timestamp, signature, secret, prevSignature string) bool {
// An unset secret is a misconfiguration, never "valid for any input".
if secret == "" {
return false
}
sent, err := strconv.ParseFloat(timestamp, 64)
if err != nil || math.IsNaN(sent) || math.IsInf(sent, 0) {
return false
}
// Replay window of five minutes; a minute of allowed clock drift.
skew := float64(time.Now().Unix()) - sent
if skew > 300 || skew < -60 {
return false
}
mac := hmac.New(sha256.New, []byte(secret))
mac.Write([]byte(timestamp + "."))
mac.Write(rawBody)
expected := mac.Sum(nil)
for _, candidate := range []string{signature, prevSignature} {
if candidate == "" {
continue
}
received, err := hex.DecodeString(strings.TrimPrefix(candidate, "sha256="))
if err != nil {
continue
}
// hmac.Equal compares in constant time.
if hmac.Equal(received, expected) {
return true
}
}
return false
}

Shell and openssl: verify, and send yourself a signed test delivery

Shell
# Verify a Velor webhook from a shell, with openssl only.
#
# usage: verify_velor_webhook BODY_FILE TIMESTAMP SIGNATURE SECRET [PREV_SIGNATURE]
# BODY_FILE the request body exactly as received, before any JSON parsing
# TIMESTAMP x-velor-timestamp (Unix seconds)
# SIGNATURE x-velor-signature ("sha256=<hex>")
# PREV_SIGNATURE x-velor-prev-signature, present while a secret rotation settles
# Exit status 0 = genuine and fresh. Note: openssl takes the key as an argument,
# so it is visible in the process list; use this for tests and tooling, and one
# of the language samples in your receiver.
hmac_hex() { openssl dgst -sha256 -hmac "${1}" -hex | sed 's/^.* //'; }
verify_velor_webhook() {
body_file=${1}; ts=${2}; sig=${3}; secret=${4}; prev=${5}
[ -n "$secret" ] || return 1 # unset secret: never valid
case "$ts" in ''|*[!0-9]*) return 1 ;; esac # Unix seconds only
skew=$(( $(date +%s) - ts ))
[ "$skew" -le 300 ] && [ "$skew" -ge -60 ] || return 1 # replay window / clock drift
expected=$( { printf '%s.' "$ts"; cat "$body_file"; } | hmac_hex "$secret" )
# A shell cannot compare strings in constant time, so compare keyed hashes of both
# sides under a throwaway key: what leaks is the timing of two unrelated digests.
nonce=$(openssl rand -hex 16)
want=$(printf '%s' "$expected" | hmac_hex "$nonce")
for candidate in "$sig" "$prev"; do
[ -n "$candidate" ] || continue
got=$(printf '%s' "${candidate#sha256=}" | hmac_hex "$nonce")
[ "$got" = "$want" ] && return 0
done
return 1
}
Shell
# Send your endpoint a correctly signed test delivery (for local development).
SECRET='whsec_...' # the secret returned when you created the endpoint
BODY='{"id":"evt_test_1","type":"conversation.created","data":{}}'
TS=$(date +%s)
SIG=$(printf '%s.%s' "$TS" "$BODY" | openssl dgst -sha256 -hmac "$SECRET" -hex | sed 's/^.* //')
curl -X POST http://localhost:3000/webhooks/velor \
-H "Content-Type: application/json" \
-H "x-velor-timestamp: $TS" \
-H "x-velor-signature: sha256=$SIG" \
-H "idempotency-key: evt_test_1" \
-d "$BODY"

Check your receiver with a script

Save this as velor-webhook-conformance.mjs (Node 18 or newer, no packages) and point it at a test endpoint with the endpoint’s secret. It speaks plain HTTP, so use a local port or a tunnel to your development server. It sends a correctly signed delivery of every event type, then deliveries that must be refused (changed body, wrong secret, no signature, too old, from the future), one inside the allowed clock drift, a rotation delivery, and the same delivery id twice, and prints PASS or FAIL for each. Run it with --self-test first to see what a passing run looks like. It uses real HTTP requests, so use a development secret, not a production endpoint. Exactly-once handling of a repeated id cannot be seen from outside your service, so it asks you to check your own logs.

JavaScript
// velor-webhook-conformance.mjs: checks that YOUR webhook receiver does what the docs ask of it.
// Node 18 or newer, no dependencies. Plain http:// endpoints only (use a local or tunnelled test endpoint).
//
// node velor-webhook-conformance.mjs --url http://localhost:3000/webhooks/velor --secret "whsec_..."
// node velor-webhook-conformance.mjs --self-test (runs against a built-in reference receiver)
//
// It sends correctly signed deliveries of every event type, then deliveries that must be refused (changed body,
// wrong secret, no signature, too old, from the future), a clock-drift delivery that must be accepted, a rotation
// delivery (only x-velor-prev-signature matches), and the same delivery id twice. Each check prints PASS or FAIL.
// Exit status 1 if any check fails. Use a test endpoint or a development secret: the deliveries are real HTTP
// requests, and an accepted one may run your handler.
import { createHmac, randomBytes, timingSafeEqual } from "node:crypto";
import { createServer, request as httpRequest } from "node:http";
// Event type -> the fields Velor sends on every delivery of it (from the webhooks reference).
const EVENTS = {
"conversation.created": ["conversation_id", "channel"],
"conversation.escalated": ["conversation_id"],
"conversation.resolved": ["conversation_id"],
"conversation.tagged": ["conversation_id", "tag_id", "tag_name", "assigned_by_profile_id"],
"conversation.assigned": ["conversation_id", "assignee_profile_id", "previous_assignee_profile_id"],
"conversation.unassigned": ["conversation_id", "assignee_profile_id", "previous_assignee_profile_id"],
"conversation.reopened": ["conversation_id", "previous_status"],
"conversation.snoozed": ["conversation_id", "previous_status", "snoozed_by_profile_id", "snoozed_until"],
"conversation.merged": ["source_conversation_id", "target_conversation_id", "merged_by_profile_id"],
"message.created": ["conversation_id", "role"],
"csat.submitted": ["conversation_id", "channel", "score", "had_feedback", "submitted_at"],
"voice.call_completed": ["call_sid", "conversation_id", "final_status", "recording_url", "voice_minutes"],
"voice.call_failed": ["call_sid", "conversation_id", "call_status", "answered_by"],
"voice.handoff_ready": ["call_sid", "conversation_id", "caller_phone", "brief", "queue_entry_id", "queue_sid"],
"voice.voicemail_received": ["conversation_id", "recording_url"],
"approval.queued": ["approval_id", "conversation_id", "action_id", "mcp_tool_id", "action_name", "request_input"],
"approval.resolved": ["approval_id", "decision", "notes", "reviewer_profile_id"],
"hallucination.flagged": ["message_id", "grounding_score", "confidence", "citations"],
"agent.assigned": ["conversation_id", "assignee_profile_id", "assigner_profile_id"],
"agent.handoff": ["conversation_id", "reason", "reason_kind", "escalated_at"],
"kb.article.published": ["article_id", "title", "kb_id", "published_by", "published_at"],
"kb.article.deleted": ["source_id", "name", "source_type"],
"webhook.delivery.failed": ["original_event_id", "original_event_type", "endpoint_id", "endpoint_url", "last_status_code", "failed_at"],
"sla.breached": ["conversation_id", "sla_minutes", "elapsed_minutes"],
"contact.created": ["contact_id", "email", "name", "phone"],
"contact.updated": ["contact_id", "email", "name", "phone"],
"contact.deleted": ["contact_id", "email", "name", "phone"],
"escalation.created": ["conversation_id"],
"escalation.resolved": ["conversation_id"],
};
const args = process.argv.slice(2);
const flag = (name) => {
const i = args.indexOf("--" + name);
return i === -1 ? undefined : args[i + 1];
};
const selfTest = args.includes("--self-test");
function sign(secret, timestamp, body) {
return "sha256=" + createHmac("sha256", secret).update(timestamp + "." + body, "utf8").digest("hex");
}
function envelope(type) {
const data = {};
for (const field of EVENTS[type]) data[field] = field.endsWith("_id") ? "id_example" : "example";
return { id: randomBytes(16).toString("hex"), created_at: new Date().toISOString(), type, organization_id: "org_conformance", data };
}
// The reference receiver: what /docs/webhooks asks of yours. Also the thing --self-test checks the checks against.
function startReference(secret) {
const seen = new Set();
const state = { handled: 0 };
const server = createServer((req, res) => {
const chunks = [];
req.on("data", (c) => chunks.push(c));
req.on("end", () => {
const raw = Buffer.concat(chunks).toString("utf8");
const ts = String(req.headers["x-velor-timestamp"] || "");
const skew = Date.now() / 1000 - Number(ts);
let ok = Number.isFinite(skew) && skew <= 300 && skew >= -60;
if (ok) {
const expected = createHmac("sha256", secret).update(ts + "." + raw, "utf8").digest();
ok = [req.headers["x-velor-signature"], req.headers["x-velor-prev-signature"]].some((h) => {
if (typeof h !== "string") return false;
const got = Buffer.from(h.replace(/^sha256=/, ""), "hex");
return got.length === expected.length && timingSafeEqual(got, expected);
});
}
if (!ok) {
res.writeHead(401).end("invalid signature");
return;
}
const id = JSON.parse(raw).id;
if (!seen.has(id)) {
seen.add(id);
state.handled += 1;
}
res.writeHead(200).end("ok");
});
});
return new Promise((resolve) => server.listen(0, "127.0.0.1", () => resolve({ server, state, url: "http://127.0.0.1:" + server.address().port + "/" })));
}
async function main() {
let url = flag("url");
let secret = flag("secret") || process.env.VELOR_WEBHOOK_SECRET;
let reference;
if (selfTest) {
secret = "whsec_" + randomBytes(32).toString("hex");
reference = await startReference(secret);
url = reference.url;
}
if (!url || !secret) {
console.error("usage: node velor-webhook-conformance.mjs --url <your endpoint> --secret <whsec_...> (or --self-test)");
process.exit(2);
}
// Plain node:http: no redirect is followed, a stalled receiver is cut off after ten seconds, and the status
// comes back as a number (or a sentence saying why there was none).
function send(body, headers) {
return new Promise((resolve) => {
const u = new URL(url);
const req = httpRequest(
{ hostname: u.hostname, port: u.port, path: u.pathname + u.search, method: "POST", headers: { "content-type": "application/json", "content-length": Buffer.byteLength(body), ...headers } },
(res) => {
res.resume();
res.on("end", () => resolve(res.statusCode));
},
);
req.setTimeout(10000, () => {
req.destroy();
resolve("no answer within ten seconds");
});
req.on("error", (e) => resolve("connection failed (" + e.code + ")"));
req.end(body);
});
}
function signed(type, mutate) {
const payload = envelope(type);
const body = JSON.stringify(payload);
const now = Math.floor(Date.now() / 1000);
const o = { ts: now, secret, body, headers: {}, ...(mutate || {}) };
const ts = String(o.ts);
const headers = { "x-velor-timestamp": ts, "idempotency-key": payload.id, ...o.headers };
if (!o.noSignature) headers["x-velor-signature"] = sign(o.secret, ts, o.body);
return { body: o.sentBody !== undefined ? o.sentBody : o.body, headers, payload };
}
const is2xx = (s) => typeof s === "number" && s >= 200 && s < 300;
const is4xx = (s) => typeof s === "number" && s >= 400 && s < 500;
const checks = [];
for (const type of Object.keys(EVENTS)) {
checks.push([
"accepts a correctly signed " + type,
async () => {
const m = signed(type);
const s = await send(m.body, m.headers);
return is2xx(s) ? true : "answered " + s + ", expected 2xx";
},
]);
}
const refused = (name, build) =>
checks.push([
name,
async () => {
const m = build();
const s = await send(m.body, m.headers);
return is4xx(s) ? true : "answered " + s + ", expected a 4xx refusal (401 is conventional)";
},
]);
refused("rejects a body that changed after signing", () => signed("conversation.created", { sentBody: JSON.stringify({ ...envelope("conversation.created"), tampered: true }) }));
refused("rejects a delivery signed with a different secret", () => signed("conversation.created", { secret: "whsec_not_the_secret" }));
refused("rejects a delivery with no signature header", () => signed("conversation.created", { noSignature: true }));
refused("rejects a validly signed delivery that is older than the replay window (400 s old)", () => signed("conversation.created", { ts: Math.floor(Date.now() / 1000) - 400 }));
refused("rejects a validly signed delivery dated two minutes in the future", () => signed("conversation.created", { ts: Math.floor(Date.now() / 1000) + 120 }));
refused("rejects a timestamp that is not a number", () => signed("conversation.created", { ts: "not-a-number" }));
checks.push([
"accepts a delivery 30 s ahead of your clock (allowed drift)",
async () => {
const m = signed("conversation.created", { ts: Math.floor(Date.now() / 1000) + 30 });
const s = await send(m.body, m.headers);
return is2xx(s) ? true : "answered " + s + ", expected 2xx";
},
]);
checks.push([
"accepts a rotation delivery (x-velor-signature from the old secret, x-velor-prev-signature matches yours)",
async () => {
const m = signed("conversation.created", { secret: "whsec_the_old_secret" });
m.headers["x-velor-prev-signature"] = sign(secret, m.headers["x-velor-timestamp"], m.body);
const s = await send(m.body, m.headers);
return is2xx(s) ? true : "answered " + s + ", expected 2xx";
},
]);
checks.push([
"acknowledges a repeated delivery id with 2xx every time (Velor retries until it gets one)",
async () => {
const m = signed("message.created");
const a = await send(m.body, m.headers);
const b = await send(m.body, m.headers);
return is2xx(a) && is2xx(b) ? true : "answered " + a + " then " + b + ", expected 2xx both times";
},
]);
if (reference) {
checks.push([
"handles a repeated delivery id exactly once (reference receiver)",
async () => {
const before = reference.state.handled;
const m = signed("message.created");
await send(m.body, m.headers);
await send(m.body, m.headers);
await send(m.body, m.headers);
const handled = reference.state.handled - before;
return handled === 1 ? true : "handled " + handled + " times, expected once";
},
]);
} else {
console.log("NOTE handling a repeated delivery id exactly once cannot be seen from outside: check your own logs or database for the id of the message.created sent twice above.");
}
let failed = 0;
for (const [name, run] of checks) {
const result = await run();
if (result === true) console.log("PASS " + name);
else {
failed += 1;
console.log("FAIL " + name + ": " + result);
}
}
console.log("\n" + (checks.length - failed) + " passed, " + failed + " failed");
if (reference) reference.server.close();
process.exit(failed ? 1 : 0);
}
main();
  • The signed string is {timestamp}.{rawBody} — always use the raw request body before any JSON parsing.
  • Use timingSafeEqual (not ===) to compare signatures. Constant-time comparison prevents timing attacks.
  • Deliveries with a x-velor-timestamp more than 5 minutes old must be rejected to prevent replay attacks.
Retry policy

Delivery & retries

Velor makes up to 2 retry attempts after the initial delivery attempt, using exponential backoff. The total delivery window is about 35 seconds. After exhausting all retries, a webhook.delivery.failed event is dispatched to any other registered endpoints.

AttemptDelay after previous failure
1 (initial)Immediate
2~5 seconds
3 (final)~30 seconds
  • Return 2xx immediately and process the event asynchronously if your handler takes more than a few seconds — Velor times out after 10 seconds.
  • Use the id field to deduplicate: your endpoint may receive the same delivery ID more than once during retries.
  • If a delivery is interrupted on our side before its attempts finish, a scheduled job runs the attempts again within about 15 minutes, with the same delivery ID — so the same event can arrive again after that window too.
  • A delivery that still fails after its last attempt is listed as failed in Settings → Webhooks, where Retry sends it again to that endpoint only, with its original id and created_at.
  • Automatic disable. When an endpoint has 5 or more failed deliveries and no successful one in the last 24 hours, Velor disables it. Owners and admins get an in-app notification and the change is written to the audit log. While an endpoint is disabled, events are not sent to it, not queued and not recorded, so they cannot be replayed later. To resume, fix the endpoint and click Enable on it in Settings → Webhooks, or send PATCH /api/v1/webhooks/:id with { "enabled": true }; failed deliveries can be retried once it is enabled again.
  • Dead letters over the API. A delivery whose every attempt failed has status failed. List them with GET /api/v1/webhooks/deliveries?status=failed (scope webhooks:read; each row has the attempt count and the last response status or error, not the event body). Re-send one with POST /api/v1/webhooks/deliveries/:id/retry (scope webhooks:write, 30 an hour per workspace). The event keeps its original id and created_at, so a receiver that dedupes on them treats it as a retry. Only a failed delivery to an enabled endpoint can be retried.
Testing

Send a test event

Each endpoint in Settings → Webhooks has a Send test button. It sends one conversation.created event to that endpoint, shaped like a real one — conversation_id, organization_id, status, channel and visitor_email — plus test: true. Its conversation_id is all zeros and matches no real conversation, and each test send gets a new id. Other event types cannot be sent as tests. The button confirms that the send was queued, not what your endpoint answered; check the delivery log for that.

  • Test deliveries are signed with your real endpoint secret — run the full verification path to make sure it works end-to-end.
  • The delivery log in Settings → Webhooks shows your workspace's 500 most recent deliveries: event type, status, number of attempts, the HTTP status your endpoint returned and the error, if any. It does not show request or response bodies. Delivery records are deleted after 90 days.

Question not answered here? caden@velorplatforms.com

Email us