Creating, updating, and deleting rules and reading the delivery log require the Business plan or higher. Listing existing rules is available on all plans.
- Cooldown: the same device will not re-trigger the same rule within 1 hour.
- Retries: up to 3 attempts per alert, with 1 min / 5 min / 30 min backoff.
- Signing: every request carries
X-Grantiva-Signature—sha256=followed by the hex HMAC-SHA256 of the raw body, computed with a signing secret generated for the rule. The scheme matches webhook endpoints.
Authentication
These endpoints accept either a dashboard session cookie or a server API key sent asAuthorization: Bearer <key>.
Alert payload
When a rule fires, your webhook URL receives:On an automatic retry,
bundleId and teamId are sent as empty strings — the retry rebuilds the payload from the stored delivery record, which keeps only the device and score. Key your handling on deviceId.List rules
Create a rule
Response —
201 Created
Returns the rule object (same shape as the list response). New rules are active immediately.
Errors
Update a rule
200 OK
Returns the updated rule object.
Errors
Delete a rule
204 No Content
List alert deliveries
See also
- Webhook Endpoints — org-wide event webhooks with the same signature scheme
- Attestation Failure Alerts