Skip to main content

Successful delivery

A delivery is successful if your server responds with a 2xx status within 3 seconds. A delivery fails if:

Retries

After a failed delivery, Zenedu retries it with increasing intervals, from a minute up to a day, for about two days. Every retry comes with the same body, the same _id and the same signature. As soon as the endpoint responds with 2xx, retries of that delivery stop. Other events keep being sent regardless of how many attempts earlier ones have left.

Automatic disabling

If all retries fail and the endpoint has had no successful delivery in the last 96 hours, Zenedu disables the webhook. In Settings → Workspace → API & Webhooks the webhook shows the date since which it hasn’t been sent. If the webhook belongs to an automation, the automation is stopped along with it. While a webhook is disabled, events are not sent to it and are not delivered later. When the endpoint works again:
  1. Send a test webhook and make sure the endpoint responds with 2xx.
  2. Enable the webhook in the dashboard or with Activate webhook. An automation webhook is enabled together with the automation.
  3. Recover missed data through the API, for example the list of orders for the period the webhook was disabled.