Events
| Event | Description |
|---|---|
device.new | First attestation from a new device |
device.high_risk | Device risk score exceeds your threshold |
device.attestation_failed | A device fails attestation validation |
attestation.anomaly | Unusual attestation pattern detected |
Setup
Create webhook endpoints from the dashboard under Settings > Webhooks.- Enter your endpoint URL (must be HTTPS)
- Select which events to subscribe to
- Save — Grantiva generates a signing secret (
whsec_...)
Payload format
Verifying signatures
Every webhook request includes anX-Grantiva-Signature header containing an HMAC-SHA256 signature of the request body, signed with your endpoint’s secret.
Retries
Failed deliveries (non-2xx response or timeout) are retried up to 3 times with exponential backoff. You can view delivery history and response details in the dashboard.Testing
Send a test event from the webhook detail page in the dashboard. This fires awebhook.test event to verify your endpoint is reachable and correctly verifying signatures.