Webhooks logo
Developer integration

Webhooks + CaptiFi

Get guest sign-ups pushed to your own systems the second they happen, with signed payloads, automatic retries and a delivery log. Included on Growth and above.

Overview

What does the Webhooks integration do?

Webhooks turn CaptiFi into an event source for the rest of your stack. Instead of asking the API what changed, you give CaptiFi an HTTPS URL and CaptiFi posts to it the moment something happens: a guest signs up on your WiFi for the first time, or a guest who has been before connects again. Your booking system, CRM or automation tool knows about it a second later.

Add up to five endpoints, which is handy for pointing the same events at a live system and a staging one, and tick the events each endpoint should receive. Every request carries an HMAC SHA-256 signature over the raw body, along with the event name and a delivery id, so you can prove a payload came from CaptiFi before you trust it and treat a repeat of the same id as one event.

Delivery is built for the real world. A failed attempt retries automatically with backoff, every attempt is recorded for 30 days with the response code and how long your server took, and an endpoint that keeps failing is switched off rather than hammered forever. You can fire a test event while you build, and rotate a signing secret whenever you need to. Webhook payloads contain guest personal data, so CaptiFi will only send them over HTTPS, and once a copy reaches your systems your own retention and deletion obligations apply to it.

What you get

Why connect Webhooks to CaptiFi

React the moment a guest arrives

A guest signs in and your system hears about it a second later, so welcome journeys, CRM records and ops alerts fire on arrival instead of on your next scheduled poll.

Signed payloads you can verify

Every request carries an HMAC SHA-256 signature over the raw body plus a timestamp, so you can reject anything that is not genuinely from CaptiFi and anything replayed later.

Retries and a delivery log

Failures retry automatically with backoff, and every attempt is logged for 30 days with the response code and duration, which answers "did CaptiFi send it, or did my server reject it?" in seconds.

Up to five endpoints, live and staging

Point the same events at production and a test environment, switch an endpoint off without deleting it, send a test event while you build, and rotate a signing secret when your security policy says so.

What data flows to Webhooks

guest.created: a guest signs up on your WiFi for the first time
guest.returned: a returning guest connects again
Guest name, email and phone where captured
Marketing and contact consent state
The venue and the visit timestamp
A delivery id per event, for de-duplication
How it works

Up and running in minutes

1

Add an endpoint

Open Webhooks in your CaptiFi dashboard, paste the HTTPS URL that should receive events, and tick the events you want. The URL must be HTTPS: payloads contain guest personal data and are never sent unencrypted.

2

Verify the signature

Compute an HMAC SHA-256 of the timestamp and the raw request body using your endpoint signing secret, compare it in constant time with the X-CaptiFi-Signature header, and reject anything older than five minutes. Always verify before you trust a payload.

3

Send a test event and go live

Fire a test event from the dashboard to confirm your handler accepts it, then switch the endpoint on. Answer with any 2xx as soon as you have accepted the event and do the slow work afterwards.

4

Watch the delivery log

Each attempt is listed with the event, attempt number, response code and duration, kept for 30 days. De-duplicate on the event id so a retry is never processed twice.

In the real world

How venues use Webhooks with CaptiFi

Hotel

A hotel pushes every new WiFi sign-up into its PMS-linked CRM on arrival, so the front desk sees a returning guest flagged before they reach the counter.

Restaurant group

A guest.returned event triggers an internal alert for regulars, letting the floor team greet frequent diners by name without anyone watching a dashboard.

Retail

New sign-ups post straight into a low-code automation tool, which adds the contact to an email platform, tags the store branch and starts a first-visit voucher sequence.

FAQs

Frequently asked questions

Which plans include webhooks?
Webhooks are included on the Growth plan and above, at no extra cost, alongside API access. The 30-day free trial runs at Growth level, so you can build and test webhooks during the trial.
Which events can I subscribe to?
guest.created fires when a guest signs up on your WiFi for the first time, and guest.returned fires when a guest who has been before connects again. You tick the events you want per endpoint, so an endpoint only receives what it asked for.
How do I know a request really came from CaptiFi?
Every request carries an X-CaptiFi-Signature header containing a timestamp and an HMAC SHA-256 of the timestamp and the raw request body, keyed with your endpoint signing secret. Verify it in constant time against the raw body, not re-encoded JSON, and reject anything more than five minutes old. Anyone can post to your URL, but only CaptiFi can produce a valid signature.
What happens if my server is down?
Failed deliveries retry automatically with backoff, and every attempt is recorded in the delivery log for 30 days with the response code and duration. An endpoint that keeps failing is switched off, so the log shows exactly why deliveries stopped.
Could I receive the same event twice?
Yes, a network hiccup can mean a retry lands after your server already accepted the first attempt. Treat repeats of the same delivery id as one event: record the ids you have processed and ignore ones you have already seen.
Who is responsible for the guest data once it reaches us?
Webhook payloads contain guest personal data, so once a copy is in your systems you are the controller of that copy and your own retention, security and deletion obligations apply. Deleting a guest in CaptiFi does not delete your copy.

Start using Webhooks with CaptiFi today

30-day free trial. Cancel anytime.