How to test pubsub without a channel?

i want to test pubsub API, to test some actions for channel points. how can i test it without a channel?

If you want to use PubSub the you can find example data in the PubSub docs which you can use to mock custom channel points rewards.

I’d suggest that you move away from using PubSub and instead use EventSub which provides a great deal more information for channel points rewards that your app uses. The EventSub docs also provide example notification data which you can use to mock incoming notifications, as well as the Twitch CLI has the capability to mock notifications.

1 Like

And you can use the Twitch-CLI to test your EventSub handler without needing a “real channel” to trigger events

1 Like

thanks

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