Webhooks
Push events such as guest sessions, device status, consents and payments to your own server as signed HTTPS requests; monitor and replay deliveries.
A webhook sends an HTTPS request to your own server whenever something happens in Hotspotly (a guest connected, a device went offline, a consent was withdrawn…). Your CRM or automation tool is informed without polling the panel.
Before you start
- Your package must include the API access module. Only the account owner manages webhooks.
- The receiving address must be https and reachable from the internet. Local networks, private IPs (10.x, 192.168.x, 172.16–31.x), loopback and cloud metadata addresses are rejected.
- Request bodies carry no personal data: guests, devices and hotspots are referenced by ID only. If you need details, look them up by ID with an API key.
Adding an endpoint
- On the Webhooks screen press New endpoint.
- Enter a name, the receiving address (e.g.
https://crm.example.com/hotspotly) and pick the event types you want. Optionally enable Marketing consent only: when enabled, events are delivered only for guests with a confirmed marketing consent state; events without resolvable guest consent as well as device or system events are skipped. - Press Create. The signing secret (starts with
whsec_) is shown only once. Copy it into your receiving server's secret settings. - Use Send test to send a
webhook.pingrequest and check the result in the delivery log.
Verifying the signature
Every request carries a Hotspotly-Signature: t=<time>,v1=<signature> header. The signature is
the HMAC-SHA256 of <time>.<raw body> with your secret. Your receiver should:
- sign the raw body (without re-serializing the JSON),
- compare signatures in constant time,
- reject requests whose time is more than 5 minutes off.
Node.js, PHP and Python sample code is in the developer documentation (the /developers page of
your panel address). The same event may arrive more than once: deduplicate on the body's id.
Delivery and retries
- A 2xx response completes the delivery. Other responses, redirects (3xx) and timeouts count as failures.
- Failed deliveries are retried with growing gaps (30 seconds, 1, 2, 4 minutes … at most every 6 hours) for 24 hours. After that they move to the dead-letter list.
- The delivery log shows the HTTP status, duration and error code of every attempt; the detail view shows the body.
- Replay re-queues a single delivery; Replay failed re-queues all dead-lettered deliveries (up to 500) with the same event ID.
Automatic disabling
If no delivery to an endpoint succeeds for 3 days, the endpoint is disabled automatically and the account owner is notified. Pending deliveries move to the dead-letter list. Once your receiver is fixed, turn the endpoint back on with Enable and replay the deliveries.
Rotating the secret
If you suspect the secret leaked, press Rotate secret. The old secret stops working immediately; deliveries may fail signature checks until the new secret is saved on your receiver.
Zapier and Make
The Zapier and Make apps open and close webhooks for you:
- Create a key on the API keys screen. Select at least the
webhooks.managescope; addvouchers.write,coupons.redeem,sessions.read,sessions.disconnect,guests.readandhotspots.readfor the actions you plan to use. - Enter this key when you add the Hotspotly connection in Zapier or Make.
- When you turn on the Zap or scenario, the app opens an endpoint for the events you picked. It appears in the list with an API subscription badge and is deleted when you turn the Zap off.
If you revoke the key, or it expires, the subscriptions opened with it are disabled automatically and cannot be re-enabled from the panel; reconnect Zapier or Make with a new key. The secret of an API subscription cannot be rotated from the panel (the copy in Zapier would stop working); if you think it leaked, delete the subscription and reconnect. Guest search returns masked results; e-mail and phone only match when typed in full. Unmasked personal data is never passed to these apps.
Make scenarios do not verify the request signature (Make does not support it); protection relies on the unguessable address Make generates. Use Zapier or your own receiver where signature verification is required.
Slack and Microsoft Teams alert channels
Send summaries of operational, security, device, billing, and compliance alerts straight to a team Slack channel or Microsoft Teams channel.
- Owner-only access: Only the account owner can open Integrations → Alert channels. Manager roles and support sessions cannot view or modify channels.
- Allowed endpoints: Only
https://hooks.slack.com/services/...(Slack) and HTTPS URLs on*.webhook.office.com,outlook.office*.com,*.logic.azure.com/workflows/..., or*.api.powerplatform.com/workflows/...(Microsoft Teams and Workflows) are accepted. The URL is stored encrypted at rest and never returned in full to the browser. - PII minimization: Alert messages contain only a short summary, severity, category, numeric thresholds, and a deep link back to the panel. Guest e-mail addresses, phone numbers, MAC/IP addresses, and support ticket reply bodies are stripped before sending.
- Inactive by default and deduplicated: Newly added channels start inactive until you verify them with Send test and enable them. Alerts fanned out to multiple admins are delivered once per channel.
Email marketing CRM connectors
Under Integrations → CRM connectors, you can synchronize email-consented guests to a Mailchimp
audience or Brevo list, and propagate consent withdrawals back to the provider (requires the
marketing module).
- Owner-only access and key protection: Only the account owner can create, update, test, or trigger CRM connectors; API keys are stored encrypted at rest and never returned in full to the browser. Support access sessions and manager roles are blocked from these endpoints.
- Consent and Turkey IYS gating: Only email identities with active
marketing_email = grantedconsent are synced. For accounts subject to Turkey IYS checks, anONAYstatus is required before subscribing, while consent withdrawals andRETstatus always propagate as unsubscribes. - Whitelisted field mapping and K1 profiling gate: Extra attributes such as first name, last
name, phone, locale, hotspot name, or visit counters are mapped strictly from the allowed field
whitelist. Visit metrics require active profiling consent (
K1), and phone numbers require SMS consent. - Testing, auto-pause, and sync logs: Connectors start disabled until you verify the target
list with Test connection and enable them. Provider
401/403responses pause the connector automatically (auth_failed). Use Sync now to queue an on-demand pass and inspect per-identity statuses in the sync log dialog.