Manage and grow
Webhooks and automations
Send new signups, clicks and page changes to Zapier, Make, n8n, Discord or your own server as they happen.
A webhook is a URL that Tapzy calls every time something happens in your workspace. Point one at Zapier, Make or n8n and your new email subscribers can land in Mailchimp, a Google Sheet or a CRM without anyone copying them over. Pro
Webhooks are on the Pro and Agency plans. Only workspace owners and admins can see and change them, because they carry your subscribers' email addresses.
Add a webhook
- Open Webhooks in the dashboard sidebar and click Add Webhook.
- Paste the URL that should receive the events.
- Pick the events it should get and, if you have more than one page, whether it's for one page or all of them.
- Copy the signing secret. It's shown only once; if you lose it, use Rotate Secret to get a new one.
- Click Send Test Event to send a sample. The result shows up under Recent deliveries with its status code and how long it took.
Each workspace can have up to 10 webhooks. Turn one off with its switch to pause it without deleting it.
Events
Busy pages send a lot of clicks. With sampling on, each link.clicked request has sample_rate (10 or 100) in its data, so multiply by it when you count. At most 500 clicks an hour are sent to one webhook.
Zapier
- In Zapier, create a Zap and pick Webhooks by Zapier as the trigger, with the Catch Hook event.
- Copy the webhook URL Zapier shows you, add it in Tapzy and pick your events.
- In Tapzy, click Send Test Event, then click Test trigger in Zapier. Zapier now knows the fields, such as
data subscriber email. - Add an action, for example Mailchimp → Add/Update Subscriber or Google Sheets → Create Spreadsheet Row, and map the fields.
Webhooks by Zapier is included in Zapier's paid plans. The URL Zapier gives you works like a password, so keep it to yourself.
Make
- Create a scenario and add Webhooks → Custom webhook as the first module. Click Add, name it and copy the address.
- Add that address as a webhook in Tapzy.
- In Make, click Redetermine data structure, then click Send Test Event in Tapzy. Make learns the fields from the sample.
- Add the modules that should run next, for example Mailchimp → Add/Update a Subscriber.
n8n
- Add a Webhook node, set the HTTP method to POST and copy its Production URL. While you build, the Test URL works too.
- Add the URL in Tapzy, then click Send Test Event.
- To check the signature, add a Code node after the Webhook node and use the Node.js example below with the request's raw body and the
tapzy-signatureheader.
Self-hosted n8n has to be reachable from the internet. Tapzy won't send to private or internal addresses such as localhost, 192.168.x.x or 10.x.x.x.
Discord
Paste a Discord channel's webhook URL (Channel settings → Integrations → Webhooks → New Webhook → Copy Webhook URL) and Tapzy sends a ready-made message to the channel for each event, with no Zapier in between. Discord ignores the JSON below and the signature; everything else works the same.
What a request looks like
Every event is a POST with a JSON body and these headers:
The body always has the same envelope: id, type, created_at, test (true for test events), workspace and data. Pages in data include their public url.
{
"id": "evt_3f9c2a7b1e4d4c0a9b8e6f5d4c3b2a10",
"type": "email.subscribed",
"created_at": "2026-11-18T14:03:12.481Z",
"test": false,
"workspace": {
"id": "6b1d…",
"name": "Mia's workspace"
},
"data": {
"subscriber": {
"id": "a2c4…",
"email": "fan@example.com",
"name": "Alex",
"country": "US",
"created_at": "2026-11-18T14:03:12.402Z"
},
"block_id": "k3n9x2",
"page": {
"id": "1f0a…",
"slug": "mia",
"title": "Mia",
"published": true,
"url": "https://tapzy.link/mia"
}
}
}{
"id": "evt_3f9c2a7b1e4d4c0a9b8e6f5d4c3b2a10",
"type": "link.clicked",
"created_at": "2026-11-18T14:03:12.481Z",
"test": false,
"workspace": {
"id": "6b1d…",
"name": "Mia's workspace"
},
"data": {
"page": {
"id": "1f0a…",
"slug": "mia",
"title": "Mia",
"published": true,
"url": "https://tapzy.link/mia"
},
"link": {
"id": "p8q1z4",
"type": "link",
"title": "My latest video",
"url": "https://youtube.com/watch?v=…"
},
"visitor": {
"country": "US",
"region": "CA",
"city": "Los Angeles",
"device": "mobile",
"browser": "Safari",
"os": "iOS",
"in_app": "instagram",
"source": "instagram",
"referrer": "https://l.instagram.com/"
},
"utm": {
"source": "instagram",
"medium": "bio",
"campaign": null
},
"clicked_at": "2026-11-18T14:03:12.402Z",
"sample_rate": 1
}
}{
"id": "evt_3f9c2a7b1e4d4c0a9b8e6f5d4c3b2a10",
"type": "page.published",
"created_at": "2026-11-18T14:03:12.481Z",
"test": false,
"workspace": {
"id": "6b1d…",
"name": "Mia's workspace"
},
"data": {
"page": {
"id": "1f0a…",
"slug": "mia",
"title": "Mia",
"published": true,
"url": "https://tapzy.link/mia"
}
}
}{
"id": "evt_3f9c2a7b1e4d4c0a9b8e6f5d4c3b2a10",
"type": "link.broken",
"created_at": "2026-11-18T14:03:12.481Z",
"test": false,
"workspace": {
"id": "6b1d…",
"name": "Mia's workspace"
},
"data": {
"page": {
"id": "1f0a…",
"slug": "mia",
"title": "Mia",
"published": true,
"url": "https://tapzy.link/mia"
},
"link": {
"id": "p8q1z4",
"title": "Old shop",
"url": "https://example.com/shop"
},
"http_status": 404,
"error": "not_found",
"failing_since": "2026-11-17T03:31:40.000Z",
"checked_at": "2026-11-18T03:30:52.000Z"
}
}New fields may be added to these objects over time, so ignore the ones you don't know.
Check the signature
Anyone who learns your URL could send it fake events. The Tapzy-Signature header proves a request came from Tapzy: it's an HMAC-SHA256 of the timestamp, a dot and the raw request body, keyed with the webhook's signing secret and written as hex.
- Split the header on commas into
t(the time it was sent, in Unix seconds) andv1(the signature). - Compute HMAC-SHA256 of
t+.+ the raw body with your secret. - Compare it with
v1in constant time, and turn away requests whosetis more than 5 minutes old so an old request can't be replayed.
Use the body exactly as it arrived. Parsing the JSON and turning it back into text can change the spacing and break the check.
import crypto from "node:crypto"
// Check the signature against the raw body, before parsing it.
// With Express: app.post("/tapzy", express.raw({ type: "application/json" }), handler)
export function verifyTapzy(rawBody, header, secret, toleranceSeconds = 300) {
const parts = Object.fromEntries(header.split(",").map((part) => part.split("=")))
const timestamp = Number(parts.t)
if (!timestamp || Math.abs(Date.now() / 1000 - timestamp) > toleranceSeconds) return false
const expected = crypto.createHmac("sha256", secret).update(timestamp + "." + rawBody).digest()
const given = Buffer.from(parts.v1 ?? "", "hex")
return given.length === expected.length && crypto.timingSafeEqual(given, expected)
}
// const ok = verifyTapzy(req.body.toString("utf8"), req.get("Tapzy-Signature"), process.env.TAPZY_WEBHOOK_SECRET)import hashlib
import hmac
import time
# Check the signature against the raw body, before parsing it.
# With Flask: verify_tapzy(request.get_data(), request.headers["Tapzy-Signature"], SECRET)
def verify_tapzy(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(part.split("=", 1) for part in header.split(","))
timestamp = int(parts.get("t", "0"))
if abs(time.time() - timestamp) > tolerance:
return False
signed = f"{timestamp}.".encode() + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))Retries and failures
Your endpoint has 10 seconds to answer with a 2xx status code. Anything else counts as a failure: another status code, a timeout, or a redirect, since redirects aren't followed. Answer quickly and do any slow work afterwards.
A failed delivery is tried again after about 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, six tries in all. Retries go out as Tapzy handles other traffic, so they can come a little later than that. Test events are sent once.
A webhook that keeps failing is turned off: after 20 failed attempts in a row spread over at least 6 hours, or 200 in a row. You'll see a notice on the Webhooks page. Fix the endpoint, send a test event, then switch it back on.
The dashboard shows each webhook's 10 latest deliveries, and deliveries are kept for 30 days.
Security
- Use an
https://URL so nobody can read the events on the way. - Keep the URL and the signing secret private. If either leaks, rotate the secret or delete the webhook and add a new URL.
- Tapzy only sends to public internet addresses: never to
localhost, private networks or cloud metadata addresses. - Adding, deleting and rotating webhooks shows up in the workspace audit log on Agency.
If you’re still stuck, email support@tapzy.link.