What does mean the fields “updated_at” “retry_started_at” in the Webhook Subscription Object?
I have read the documentation but it is still not clear to me what this data represents. In what way is a subscription updated? I have not found an endpoint to update a webhook subscription, only GET or DELETE.
And in the case of “retry_started_at” what does it mean? I have subscriptions in NULL in that field and others with the same date as “updated_at”. I don't understand it.
Thanks for your time.
Hey
From our documentation specifically:
If a webhook begins to return errors 3xx/4xx/5xx server responses, it will continue to try to deliver for 24 hours with an exponential back-off that makes attempts less and less frequently or until 24 hours after the booking of the event passes.
After 24 hours, the webhook is disabled if another message was not delivered successfully and the hook needs to be recreated. This failed server response happens when Calendly sends the data to your server, but your server has gone down or has a failure on your end. Note that if one message (event details) fails to be received, other messages will still be sent in an attempt to make a connection.
---
I know we once discussed proactively identifying webhooks that might be at risk of getting disabled, and the retry_at is a potential option. You could call the list webhook subscriptions endpoint, and look for any retry_at variable that is within the last 24 hours (assuming you run this every day). This could at least give you a heads up that your server didn’t send a 200 response, and caused Calendly to resend the data!
Reply
Sign up
Already have an account? Login
Not a Calendly user yet? Head on over to Calendly.com to get started before logging into the community.
Employee Login Customer LoginLogin to the community
Not a Calendly user yet? Head on over to Calendly.com to get started before logging into the community.
Employee Login Customer LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.