Filter EventSubs by Condition / Type
While migrating to EventSub with 2.2 million webhooks, I noticed one thing that makes debugging with many webhooks especially difficult.
Problem:
EventSub subscriptions cannot be listed by a condition or type. This makes it impossible to find unwanted duplicates and its ID on the part of Twitch.
Solution:
By filtering by condition and/or type, you can find EventSub subscriptions and their IDs faster and more efficiently.
In addition, we would theoretically not need a database that knows all IDs to manage event subscriptions.
5
votes
![](https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?size=40&default=https%3A%2F%2Fstatic-cdn.jtvnw.net%2Fjtv_user_pictures%2Febbafdf6-92b5-4b7b-b62c-043421d52087-profile_image-150x150.png)