Webhooks and events
Add an endpoint with POST /v1/webhooks or in your console. We POST one JSON event per call and expect a 2xx within 10 seconds. A failure is tried again after 1, 5 and 30 minutes, then hourly, for 24 hours. Every event is also in GET /v1/events.
{
"id": "evt_…",
"type": "audit.scan.completed",
"created_at": "2026-11-10T09:58:12Z",
"client_id": "cl_…",
"data": {
"audit_id": "aud_…",
"scan_id": "scn_…",
"site": "acme-tools.com",
"status": "done",
"score": 74,
"pages_read": 412,
"report_url": "/api/v1/audits/aud_…/scans/scn_…/report"
}
}Checking the signature
Header Amarkos-Signature: t=1762768692,v1=<hex>. v1 is HMAC-SHA256 of t + "." + the raw body with your webhook’s secret. Refuse it if t is more than 5 minutes old.
Node.js
import crypto from "node:crypto";
function verify(rawBody, header, secret) {
const { t, v1 } = Object.fromEntries(header.split(",").map((p) => p.split("=")));
if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
const want = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
return crypto.timingSafeEqual(Buffer.from(want), Buffer.from(v1));
}Events
| audit.scan.completed | A scan finished. Carries scores and the report url. |
| audit.scan.failed | A scan stopped with a reason. |
| links.plan.ready | A research plan waits for approval. |
| links.email.needs_approval | A draft waits for you. |
| links.reply.received | A site replied. |
| links.question.asked | Something only you can answer. |
| links.link.live | A link was placed and verified. |
| links.link.lost | A live link went missing or changed. |
| mailbox.failed | A mailbox stopped logging in. |
| credits.low | Balance fell under your low-balance mark. |
| credits.exhausted | Credits used up: new work answers 402, campaigns pause. |