Skip to main content

Any way to check if Webhooks already exists?

  • February 2, 2022
  • 4 replies
  • 1986 views

Sina
  • Participating Frequently

Hello! Is there any way to make a query and check if there is any active Webhooks on a board I got? In the documentation I only found ways to create Webhooks (which I do) and delete Webhooks, but I would like to make a query and check if there are any active Webhooks so I don’t create them again if they exist. Anybody knows? 🙂

Thanks a lot!

This topic has been closed for replies.

4 replies

basdebruin
  • Community Expert
  • February 2, 2022

hi @Sina

Unfortunately not such thing available. What I do when I create a webhook during the subscribe event of a custom trigger is to add a row in a database where the subscriptionId is related to the webhookId(s). When a user add the same integration to the board I check if that integration is in my database and if so I skip creating the webhook. Not the cleanest solution but I can’t think of anything else.


Sina
  • Author
  • Participating Frequently
  • February 3, 2022

Thanks for the inspo, Bas! I wanted to avoid that move until the end, but hey, it works! 🙂


  • New Participant
  • February 9, 2022

thank you basdebruin ✌️ its a good solution .
its kind of you .


  • February 16, 2022

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.