Delivery and retries
Delivery guarantees, retries, auto-disable and resyncing a linked webhook.
Violet delivers every request at least once and in order per webhook; your receiver should answer quickly and tolerate repeats.
Endpoint. HTTPS only. The endpoint doesn't have to be open to everyone: put Violet's IP addresses on your firewall's allow list and block the rest. Its hostname must still resolve to a public IP address; private and internal addresses are refused.
Respond with a 2xx within 10 seconds. The 10 seconds include the DNS lookup. Redirects are not followed. Acknowledge first and do slow work in the background.
At least once. The same request can arrive more than once, for example when an attempt timed out after you processed it. Deduplicate by
eventIdper event, and byViolet-Delivery-IdordeliveryIdfor whole requests.In order. Requests to one webhook go out one at a time, in the order they were built. A failing request holds every request behind it until it succeeds or the webhook is disabled.
Retries and auto-disable
2xx
Marks the request Delivered.
Timeout, network error, 5xx, 408 or 429
Retries after 1, 2, 4, 8, 16, 32 and 60 minutes, then every hour.
Any other 4xx, or a 3xx redirect
Permanent failure. Three in a row disable the webhook at once.
No 2xx for 6 hours
The webhook is disabled.
Nothing is dropped while a webhook is paused or disabled: unsent requests and new changes wait. When an admin re-enables it, they go out in order. If too many changes built up meanwhile, a subscription.resync_required event with reason capture_overflow goes first.
If an entity's integration is removed, its events are left out of later attempts. A retry can therefore carry fewer events than the first try, never more. A request left with no events is not sent and shows as Not sent in the delivery log.
Resync a linked webhook
Linking a webhook to an exploration does not send a resync event. After you create one, read the exploration's current results once to load your starting set. Later edits to the exploration's filters send subscription.resync_required with reason exploration_changed.
With an admin user's API key, page through the entities that match today:
curl -X POST "https://[YOUR-TENANT-NAME].violetlabs.com/api/explore/<explorationId>/results" \
-H "x-api-key: <your API key>" \
-H "Content-Type: application/json" \
-d '{"size": 500}'The response holds items (each with id, entityType and integrationIds) and a nextCursor. Send {"size": 500, "after": "<nextCursor>"} for the next page until nextCursor is null. Pages hold up to 1,000 items. VioletGov customers use violetgov.com.
These results apply the same saved filters and search the webhook evaluates, without grouping or dashboard settings. They run with the API key user's own visibility, while the webhook evaluates tenant-wide. Use a key from an admin who can see the whole tenant; a user limited to some workspaces or programs sees fewer entities, which would look like removals.
Was this helpful?

