Skip to content

Webhooks

Webhooks let you receive event notifications from Fanzava in your own systems: CRMs, data warehouses or custom applications.

Webhooks carry participant and competition lifecycle events, built for pushing hub activity into a CRM or data warehouse. Which events you can subscribe to depends on your plan.

Event Triggered when Plans
participant.joined A participant joins your hub Starter and above
participant.left A participant leaves Starter and above
participant.reactivated A participant who had left returns Starter and above
participant.first_tip A participant submits their first tip Starter and above
participant.first_bracket A participant submits their first bracket Starter and above
competition.completed A competition finishes Starter and above
participant.perfect_round A participant tips every game of a round correctly Pro and above
participant.streak_milestone A participant reaches a streak milestone Pro and above
participant.inactive_7d A participant has been inactive for 7 days Pro and above
participant.inactive_30d A participant has been inactive for 30 days Pro and above
participant.at_risk A participant is flagged as at risk of lapsing Pro and above
competition.prize_eligible A participant becomes eligible for a competition prize Pro and above

Growth has the same six events as Starter. Free hubs cannot subscribe to webhook events. Fanzava refuses a subscription that includes an event your plan does not allow.

Round, leaderboard, group and competition-start events are not sent as webhooks.

  1. Go to Admin → Settings → Webhooks
  2. Enter your endpoint URL (must be HTTPS)
  3. Select which events to subscribe to
  4. Optionally set a secret key for signature verification
  5. Click Create

Fanzava sends a test event to your endpoint immediately. If it returns HTTP 200, the webhook is active.

All events use the same envelope:

{
"event_id": "a3f1c2e4-0000-0000-0000-000000000000",
"event_type": "participant.joined",
"hub_id": "hub_abc123",
"occurred_at": "2026-04-01T10:30:00Z",
"api_version": "2026-01-01",
"data": {
// Event-specific payload
}
}

If your webhook has a secret, Fanzava signs every request. Each request carries X-Fanzava-Timestamp (Unix seconds) and X-Fanzava-Signature:

X-Fanzava-Signature: sha256=<hex HMAC-SHA256 of "<timestamp>.<raw request body>">

The HMAC key is the SHA-256 hex digest of your secret (lowercase, UTF-8), not the raw secret. Reject a request whose timestamp is more than 5 minutes old. After you rotate a secret, the header carries two sha256= values for 24 hours so you can cut over without a gap. Requests also carry X-Fanzava-Event-Id and X-Fanzava-Idempotency-Key, which you can use to ignore a delivery you have already handled.

If your endpoint returns a non-2xx status or does not answer, Fanzava retries with increasing delays: 1 minute, 5 minutes, 30 minutes, 2 hours, then 24 hours. A delivery that still fails is dead-lettered. A webhook that keeps failing is switched off automatically and the hub admins are notified. Failed delivery attempts are listed in Admin → Settings → Webhooks, where you can retry one by hand.

Was this page helpful?

Raise a ticket about this page

Comments