The API
When what your users are waiting for happens, your backend gets a signed webhook with the proof. Your app places the order
What your app receives
Two kinds of POST, each with a JSON body, to the address you choose
signal.fired, version 1- What a user was waiting for has happened: the statement they confirmed, your order passed back untouched, the exact quote with its source and time, and the digest of the decision in Venndann’s tamper-evident log
message, version 1- The assistant’s answer in a conversation, as blocks your app draws itself: text, quotes, sources, lists, a rule to confirm, up to three choices
{
"type": "signal.fired",
"timestamp": "2026-12-09T19:00:02.000Z",
"data": {
"version": 1,
"id": "sig_713c704ae2963b5d81f04c6e9a2d7b18",
"rule": "rule_4f1b8e2c9a7d3065",
"market": "crypto",
"statement": "the Fed cuts interest rates",
"chatRef": "chat_20931",
"userRef": "user_7714",
"order": {
"side": "buy",
"asset": "BTC",
"amount": "500.00"
},
"quote": {
"text": "decided to lower the target range for the federal funds rate by 1/4 percentage point",
"start": 1187,
"end": 1271
},
"source": {
"id": "fed-press-releases",
"name": "Federal Reserve press releases",
"url": "https://www.federalreserve.gov/newsevents/pressreleases/monetary20261209a.htm"
},
"event": {
"id": "fed-press-releases:9c41d0e7b25a6f38",
"publishedAt": "2026-12-09T19:00:00.000Z",
"receivedAt": "2026-12-09T19:00:01.000Z"
},
"decision": "9b0e5f2c41d7a8e3b6f05c92d1e47a3b8c6f2d0e95a1b7c43e8d6f2a0b9c5e71",
"trace": "5d2e8a1f9c3b7064e1a2d8f5b3c90e47"
}
}
A version never changes. A new field or a new meaning is a new version, with a schema of its own
Check the signature
Every request is signed as Standard Webhooks specifies, with a secret only you and Venndann hold
webhook-id- The signal’s id, or the message’s own. The same at every attempt
webhook-timestamp- When this attempt was sent, in Unix seconds
webhook-signaturev1,and the base64 HMAC-SHA256 ofid.timestamp.body, keyed with your secret
import { createHmac, timingSafeEqual } from 'node:crypto';
// secret: yours, "whsec_…". body: the raw body, before parsing
export function verify(secret, headers, body) {
const id = headers['webhook-id'];
const time = headers['webhook-timestamp'];
// refuse a request more than five minutes off
const age = Math.abs(Date.now() / 1000 - Number(time));
if (!/^\d+$/.test(time) || age > 300) return false;
const key = Buffer.from(secret.slice('whsec_'.length), 'base64');
const expected = createHmac('sha256', key)
.update(`${id}.${time}.${body}`)
.digest();
// the header may hold several signatures, split by spaces
const given = (headers['webhook-signature'] ?? '').split(' ');
return given.some((entry) => {
const [version, signature = ''] = entry.split(',');
const bytes = Buffer.from(signature, 'base64');
return version === 'v1' && bytes.length === expected.length
&& timingSafeEqual(bytes, expected);
});
}
Act on each one once
The same webhook-id can arrive more than once, for example when your answer is lost on the way. Keep the ids you have seen for a day, and act on each once. A signal’s id has at most 36 characters from [A-Za-z0-9_-], so it can be your order id
Retries
Answer with a 2xx status within 30 seconds. Redirects are not followed. On any other answer, or none, the request is tried again with growing gaps: a signal for ten minutes at most, so that no order is placed on old news, and a message for a day
Retry-After is waited for, within those limits. A 410, or the header webhook-delivery: abort-message, stops the tries
Get access
There is no sign-up yet. Write to us, and we set it up with you: the address your webhooks go to, and your secret