Creating a Webhook
1
Open project settings
Navigate to your project, click Settings, then select the Webhooks tab. Alternatively, create organization-level webhooks under Organization Settings → Webhooks.
2
Add a new endpoint
Click Add Webhook and enter the URL of your server endpoint. It must be publicly accessible and accept
POST requests.3
Select events
Choose which events should trigger this webhook. You can subscribe to individual events or all events.
4
Save and copy the secret
Click Save. Entri auto-generates a signing secret and shows it once — copy it immediately and store it securely. You will need it to verify webhook signatures.
5
Test the endpoint
Use the Test button to send a
webhook.test event to your endpoint and verify it is reachable.Supported Events
Webhook Payload
Every event is delivered as a JSON object with a consistent envelope:Request Headers
Each webhook delivery includes these headers:Security — Verifying Signatures
Entri signs every webhook request so you can confirm the payload came from Entri and was not tampered with. The signature is in theX-Webhook-Signature header as a plain hex string.
1
Retrieve your signing secret
Find the signing secret shown when you created the webhook. Keep it private — it cannot be retrieved after creation.
2
Compute the expected signature
Compute an HMAC-SHA256 digest of the raw request body using your signing secret as the key.
3
Compare signatures
Compare your computed digest to the value in
X-Webhook-Signature. Reject the request if they do not match.- Node.js
- Python
Delivery and Failures
If your endpoint returns a non-2xx status code or does not respond within 10 seconds, the delivery is marked as failed. Entri does not automatically retry failed webhook deliveries. Monitor thefailureCount field on the webhook object and investigate delivery failures promptly.
For full API reference including creating, updating, and deleting webhooks programmatically, see Webhooks API Reference.