Skip to main content
Prospct.io
How-to · 5 min

Set up webhooks

Fire a webhook every time a contact is revealed, enriched or verified.

Register your endpoint

In Settings → Webhooks, paste your HTTPS endpoint and pick the events you want (contact.revealed, contact.enriched, verification.completed, signal.triggered).

Verify signatures

Every webhook is signed with your workspace secret. Verify the X-Prospct-Signature header before processing.

import crypto from "crypto";
const expected = crypto.createHmac("sha256", process.env.PROSPCT_SECRET!)
  .update(rawBody).digest("hex");
if (signatureHeader !== expected) throw new Error("invalid signature");