Webhook deliveries and retries
Valystrum tries each webhook delivery up to five times, and lists every attempt on Settings, Webhooks under Recent deliveries.
When a delivery counts as delivered
Your endpoint must answer within 10 seconds with a 2xx status. Anything else is a failed attempt:
- another status, recorded as "HTTP" and the status;
- a redirect: redirects are not followed, so register the final address directly;
- an address that does not resolve to a public internet address: "Not sent: the endpoint's host does not resolve to a public address." Valystrum never delivers to private, loopback or cloud-metadata addresses.
Retries
After a failed attempt, Valystrum tries again with a growing pause (about 2, 4, 8 and 16 seconds), up to five attempts in all. An address that does not resolve to a public address is not retried: it would fail the same way.
Delivery is best effort. The list shows every attempt and every event the platform could not queue, but an event waiting when the platform restarts can be missed without a line. If your process must not miss an event, also read the records through the API now and then.
Read the deliveries
- Open Settings, Webhooks.
- Recent deliveries lists the last 30 attempts across your endpoints, newest first: the event type, the endpoint, when it was sent, the attempt number when above 1, delivered or failed, and the status code. A failed one shows the reason.
- An endpoint whose last delivery failed is marked on its row: "The last delivery failed with status ...".
For an endpoint's whole history, use the API: GET /api/v1/{org}/webhooks/{id}/deliveries.
Fix a failing endpoint
- Check that the endpoint answers
2xxquickly and does the real work afterwards. - Check the signature with the secret you set: see Check a webhook delivery's signature.
- The address, events and secret cannot be edited. To change them, press Remove on the row and add the endpoint again.