Any way to check if Webhooks already exists?

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? :slight_smile:

Thanks a lot!

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.

2 Likes

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

1 Like

thank you basdebruin :v: its a good solution .
its kind of you .

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