<@U04UQ68083H> What is the retry schedule for webh...
# ory-copilot
l
@chilly-king-10285 What is the retry schedule for webhooks?
c
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. The provided extracts do not mention the retry schedule for webhooks. However, you can refer to the [Ory documentation](https://www.ory.sh/docs) for more information on webhooks and their behavior.
m
This is a great example of the bot unearthing holes in the documentation. I created an issue to track documenting this: https://github.com/ory/docs/issues/1400
🙏 1
l
Thanks. Yes, I’m trying to figure out whether I should just send the identityId in the webhook payload, then lookup the identity in my handler so that I know I have the current trait values. For example, if the webhook may retry 12 hrs later and I include trait data in the payload, the trait data could be out-of-date by then.
If it only retires over a span of a few mins, then it may be safe to just include the trait data and save myself a lookup.
m
Hello @limited-photographer-61008 I since found out that the hooks don’t get retried if they fail at the moment. For some use cases a retry would probably be required/very good. Is that the case for you?
l
@magnificent-energy-493 From previous msgs here on Slack, I was under the impression that retires were already in place? e.g. https://ory-community.slack.com/archives/C02MR4DEEGH/p1679584352286659?thread_ts=1679582176.990629&amp;cid=C02MR4DEEGH
If you guys are looking at improving your webhooks, maybe check out Svix: https://www.svix.com/
m
Thanks for sharing Brandon, I will forward that to the team. As for the retries, let me clarify, since there was some work in that area since. Apologies for the confusion, will see to get that documented so we avoid that in the future.
l
No worries. Thank you.
m
https://www.ory.sh/docs/guides/integrate-with-ory-cloud-through-webhooks#webhook-retries 3 retries with 30sec intervall @limited-photographer-61008 I hope that clears it up 🙏
l
Thanks for updating the docs.