Skip to Content
ReferenceWebhooks

Webhooks

Add an endpoint in Developers → Webhooks and turn events on. Each event is a POST with a JSON body. If your server errors or doesn’t answer within 5 seconds, it’s retried once. Every delivery is listed on the same screen.

Events

EventWhen
subscriber.joinedSomeone signed up
subscriber.confirmedThey confirmed their email (double opt-in)
subscriber.invitedThey received an invite. Includes invite_code and invite_url
subscriber.clickedThey opened their invite
subscriber.activatedYour app reported them as a user
subscriber.stalledThey opened their invite but your app hasn’t reported them active after the nudge delay (sent with the activation nudge). Payload adds invite_code, clicked_at and hours_since_click
subscriber.unsubscribedThey unsubscribed
invite.expiredAn invite expired unused

Payload

{ "id": "evt_3f1c…", "event": "subscriber.joined", "created_at": "2026-11-13T10:00:00.000Z", "project_id": "…", "data": { "id": "…", "email": "ada@example.com", "name": "Ada", "status": "joined", "referral_code": "k3x9p2aa", "referred_by": null, "referrals": 0, "answer": "Founder", "fields": { "role": "Founder" }, "tags": [], "source": "sdk", "joined_at": "2026-11-13T10:00:00.000Z", "position": 42, "total": 310, "referral_link": "https://yourapp.com/?ref=k3x9p2aa" } }

Verify the signature

Each request carries Waitlistly-Signature: t=<unix seconds>,v1=<hex>, an HMAC-SHA256 of "<t>.<raw body>" with your signing secret.

import crypto from 'node:crypto'; export function verify(rawBody: string, header: string, secret: string) { const { t, v1 } = Object.fromEntries(header.split(',').map((p) => p.split('='))); const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex'); const fresh = Math.abs(Date.now() / 1000 - Number(t)) < 300; return fresh && crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected)); }

Use the raw request body, not re-serialized JSON.

Last updated on