Webhook events when target url is offline?

  • 0
  • 1
  • Question
  • Updated 5 years ago
  • Answered
I haven't found any documentation for how the webhooks interface works under failure conditions.

What happens to event if the target url is down when the event occurs?
Is there any retry window or is it single chance to receive?
What happens the target url returns something other than 200?

Any pointers or a link to documentation would be appreciated.


Photo of McWilliams|Ballard

McWilliams|Ballard

  • 19 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 0
  • 1
Photo of Tyler Scott

Tyler Scott, Employee

  • 805 Posts
  • 39 Reply Likes
Hey there! I'm not sure I fully understand your questions; can you please provide some further clarification? When you mention the target url is down, are you referencing if Emma's system is down?

Please just let me know and I'll do my best to help!

Thanks!
Photo of McWilliams|Ballard

McWilliams|Ballard

  • 19 Posts
  • 0 Reply Likes
From the POST /#account_id/webhooks rest call. If/When the given url parameter is down. Target is referring to the system that emma calls.

source of the event: emma
target receiving the event: my host (probably event sink or listener would have been a better term choice).

Photo of tsclausing

tsclausing, Employee

  • 8 Posts
  • 2 Reply Likes
Hi! I work on our API and Integrations team. The information you're looking for should be in our documentation, but until it gets there, here's an answer from the source:
  • Failed webhook requests will retry every 5 minutes for 24 hours
  • Request timeout is 5 seconds, after which a retry will be queued
  • 500 errors (etc) are not failed requests and will not retry
  • Webhooks do follow redirects