Integration

Send every lead to any URL

Add a webhook URL to a popup and Peekaly POSTs each submission to it as JSON. Point it at a Zapier or Make catch hook to reach thousands of apps, or at your own server.

What you get

  • Every fieldThe payload carries every answer from the form, plus the page and site the lead came from.
  • RetriesIf your endpoint fails with a network error or a 5xx response, Peekaly tries again twice.
  • Test buttonSend a test request from the publish step to check your endpoint before going live.
  • HTTPS onlyWebhooks go to HTTPS addresses on port 443 or 8443 and time out after 10 seconds.

Connect Zapier or Make

  1. Create a catch hookIn Zapier choose “Webhooks by Zapier → Catch Hook”; in Make add a “Custom webhook”. Copy the URL it gives you.
  2. Paste it into your popupIn the popup’s publish step, paste the URL into the webhook field and send a test.
  3. Map the fieldsUse data.email and data.fields in the next steps of your Zap or scenario.

What your endpoint receives

A POST with Content-Type: application/json and an X-Peekaly-Event: submission.created header:

JSON
{
  "event": "submission.created",
  "timestamp": "2026-12-04T09:15:02.118Z",
  "data": {
    "id": "cm4x9...",
    "templateId": "campaign-1733300000000",
    "email": "ada@example.com",
    "fields": { "email": "ada@example.com", "firstName": "Ada" },
    "formData": {
      "input-modal-newsletter-1-4": "Ada",
      "input-modal-newsletter-1-5": "ada@example.com"
    },
    "domain": "yourstore.com",
    "pagePath": "/collections/sale",
    "createdAt": "2026-12-04T09:15:02.104Z"
  }
}

email and fields name the contact details (email, name, firstName, lastName, phone) found in the form. formData holds every raw answer, keyed by field; spin to win popups add gameResult, prize and prizeCode.

Questions

Can I verify that a request came from Peekaly?

Every request carries the X-Peekaly-Event header and a Peekaly-Webhook user agent. Keep your webhook URL private, as you would an API key.

What if my endpoint is down?

Peekaly retries twice on network errors and 5xx responses. The lead is always saved in your dashboard first, so nothing is lost if delivery fails.

Related