gocodebox / lifterlms-rest

LifterLMS REST API Feature Plugin
6 stars 7 forks source link

multiple webhooks, same topic #298

Closed nrherron92 closed 1 year ago

nrherron92 commented 1 year ago

We have a user that wants to know if they can use one topic to trigger a bunch of webhooks, or if there are any limitations to what a single trigger can do?

I'm inclined to say it will be fine, but wanted to double check first

thomasplevy commented 1 year ago

We don't have any limitations imposed on the number of webhooks you can have triggered by a single topic.

In other words: If the user wishes to create 10 different webhooks, and they all are triggered by the course.created topic/event, they will all fire.

When an event which triggers a webhook fires, the webhooks matching that event are queried and the webhooks will be fired one at a time

nrherron92 commented 1 year ago

thank you <3