Webhook Subscriptions
Webhook subscriptions allow you to receive real-time notifications about events in your PassEntry account. When an event occurs (like a pass being installed or scanned), PassEntry will send an HTTP POST request to your specified endpoint with details about the event.Setting Up Webhooks
To start receiving webhooks, create a subscription either via API or PassEntry Dashboard.-
Create a webhook subscription by providing:
- An HTTPS endpoint URL that will receive the webhook events
- A list of events you want to subscribe to
- Optional entity scope if you want to receive events only for a specific entity
- Store the secret key returned in the response securely. This key is used to verify webhook signatures (see Security Measures).
-
Configure your endpoint to:
- Accept POST requests
- Verify webhook signatures
- Return a 2xx status code to acknowledge receipt
Webhook Management
Scoping
- Your entire organisation (default)
- A specific entity (if you have multiple entities)
- Cannot create multiple webhook subscriptions with the same target URL within the same scope
- Cannot change the scope after subscription creation (create a new one and delete the old one)
- Default limits: 10 organisation-level and 10 per entity subscriptions
Status
- Enabled: Actively receiving events
- Disabled: Temporarily paused
Debugging and Security
- Use the “Test webhook” functionality via API or Dashboard to debug your subscriptions
- If you believe your secret key was compromised, rotate it via Dashboard or API
- Maintain separate webhook subscriptions for each environment (development, staging, production) to isolate testing and ensure proper event handling across your deployment pipeline