Webhooks

Send every lead to your own server, or to Zapier and Make, as signed JSON the moment it arrives.
Format:
JSON over HTTPS POST
Signed with:
HMAC-SHA256
Retries:
for about a day

Updated November 20, 2026

How it works

When a visitor submits a form, Genyzo saves the lead first, then POSTs it to your URL in the background. A slow or failing endpoint never loses a lead or holds up your other integrations.

Setup

Connect a webhook

  1. Open GenyzoIntegrationsWebhook (or Zapier / Make)

  2. Paste your HTTPS endpoint

    Genyzo only sends to public addresses: no private networks, no redirects.
  3. Copy the signing secret

    On the integration’s Developer tab. Keep it on your server only.
  4. Send a test lead

    It’s marked "test": true, so your code can ignore it.

Pop editor → Send leads to

Which forms send

You can connect several webhooks. Each has a default under Settings: Send leads from every form on (every form) or off (only forms that pick it).

For one form, select it in the pop editor → Send leads to → Webhook → Configure. Every webhook is listed, ticked by its default; tick or untick any — a particular one, several, or none — and Save. Reset to defaults undoes it. Zapier and Make work the same way, each in its own row.

The payload

Headers: Content-Type: application/json, Genyzo-Event: lead.created, Genyzo-Delivery (stable per lead and destination — use it to ignore duplicates) and Genyzo-Signature.

Example · Body
{
  "event": "lead.created",
  "version": 1,
  "id": "cmx8…",                      // submission id — the same on every retry
  "test": false,
  "submittedAt": "2026-11-19T09:26:00.000Z",
  "workspace": { "id": "cmw…", "name": "Acme" },
  "contact": { "email": "[email protected]", "name": "Asha Rao", "firstName": "Asha", "lastName": "Rao", "phone": "+91 98765 43210" },
  "answers": [
    { "id": "f_email", "label": "Email", "type": "email", "value": "[email protected]" },
    { "id": "f_news", "label": "Email me product news", "type": "acceptance", "value": true }
  ],
  "consent": { "given": true, "text": "Email me product news" },
  "pop": { "id": "cmp…", "name": "Spring sale" },
  "form": { "id": "w_form1", "name": "Get 10% off" },
  "site": { "id": "cms…", "domain": "example.com" },
  "page": { "url": "https://example.com/pricing?utm_source=google", "referrer": null,
            "utm": { "source": "google", "medium": null, "campaign": null, "term": null, "content": null } },
  "country": "IN",
  "prize": { "label": "10% off", "couponCode": "SPRING10" },
  "visitorId": "v_…"
}

Fields that don’t apply are null. New fields may be added; existing ones won’t change meaning within a version.

Verify the signature

Genyzo-Signature: t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of "<t>.<raw body>" with your signing secret — the whole secret, including its whsec_ prefix, is the key. Compute it over the raw body (before parsing), compare in constant time, and reject old timestamps to stop replays.

Node.js example

Example · verify.js
import crypto from "node:crypto";

// rawBody: the request body exactly as received (a string / Buffer, before JSON.parse)
export function verifyGenyzo(rawBody, header, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const t = Number(parts.t);
  if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false; // too old: replay
  const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  const given = Buffer.from(parts.v1 ?? "", "hex");
  return given.length === 32 && crypto.timingSafeEqual(given, Buffer.from(expected, "hex"));
}

Responses and retries

Your endpoint answersGenyzo
2xxSent ✓
408, 425, 429, 5xx, timeout (10 s), network errorRetries after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h
401, 403, 404, 410Pauses the integration (“Needs attention”); leads wait and are sent once it works again
Other 4xx, and 3xx (redirects aren’t followed)Marks that lead failed (you can resend it from Activity)

Security

  • HTTPS-only public URLs; private, internal and localhost addresses are blocked; redirects aren’t followed; responses are read up to a size limit.
  • The signing secret is encrypted at rest, never logged, and shown only on the Developer tab to people who manage integrations.

Test, turn off, rotate

  • Send test lead at the top of the integration page.
  • The On / Off switch pauses sending without deleting anything.
  • Rotate the signing secret on the Developer tab; the old one stops working immediately.

Tip

Activity shows each lead’s status and your endpoint’s answer, and lets you resend.