When the app to which we're sending the webhook fails to send a response with a 2xx status code we will consider the call as failed. The call will also be considered failed if the remote app doesn't respond within 5 seconds.
When a webhook call fails, we'll retry the call five more times. To not hammer your app, we'll wait some time between each attempt. We will one minute between the first and second attempt, 5 minutes between the next two attempts, then we will switch to sending hourly for the next 72 hours.
If you have long-running tasks in your webhook function, you should acknowledge the event before executing the long-running tasks. Long-running tasks will lead to a request timeout and an automatic error response from your server. Without a 200 OK response, we retry as described in the paragraph above.
Updated 9 months ago