Discussions
Event Webhooks Randomly Disappearing
Hi ServiceM8 Team,
I’m experiencing an issue where some of my subscribed event webhooks are randomly disappearing without any explanation.
These are the specific event webhooks I subscribe to:
[ 'job.badge_added', 'job.status_changed', 'job.badge_removed' ]
I’m using the API key authentication method to register these webhooks, and when I query the /subscriptions
endpoint after registration, I can confirm that all three are correctly listed.
However, after some time, one or more subscriptions just drop off the list entirely — no logs, no errors, no notices. This is causing disruptions to our workflows.
As a temporary mitigation, I’ve implemented a manual fallback where we run an hourly cron job to re-register these webhooks. This obviously shouldn’t be necessary and feels like a workaround for something that should be stable.
Could you please advise:
- Why do these webhooks disappear?
- Is there a known limitation or timeout on event subscriptions that I should be aware of?
- How can we ensure that our webhooks persist without having to re-register them every hour?
This is affecting production workflows, so any guidance would be greatly appreciated.
Thanks,
David