Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Confirm each delivery is genuine, unmodified, and recent.
import { parseWebhook, verifyWebhook, WEBHOOK_HEADERS, } from "@interactions-hq/skyline/webhooks"; const raw = await readRawBody(req); const ok = verifyWebhook( raw, { signature: req.header(WEBHOOK_HEADERS.signature), timestamp: req.header(WEBHOOK_HEADERS.timestamp), }, process.env.SKYLINE_WEBHOOK_SECRET! ); if (!ok) return res.status(401).end(); const event = parseWebhook(raw, headers, secret);
verifyWebhook