Webhooks
Set an HTTPS URL in Settings → Usage. We post report.updated, estimate.updated, deal.matched, competitors.changed and lead.created. Each request carries X-AddyIQ-Signature: sha256=… (HMAC-SHA256 of the raw body with your secret) and X-AddyIQ-Delivery. Failed deliveries retry 5 times over about 15 minutes; every attempt is in the delivery log.
import crypto from "node:crypto";
const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
if (!crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(req.headers["x-addyiq-signature"]))) throw new Error("bad signature");