Hello, I’m making a minigame for a streamer.
I wanted to know if there is an API that will allow users to buy in game items with channel points.
Thank you
Hello, I’m making a minigame for a streamer.
I wanted to know if there is an API that will allow users to buy in game items with channel points.
Thank you
There is a PubSub topic channel-points-channel-v1.<channel_id>
as documented here: https://dev.twitch.tv/docs/pubsub#topics
That will allow you to track custom points redemptions, so you would need the streamer to grant you the channel:read:redemptions
scope so that you can listen to that topic and then you have to work out which custom redemption is the one you want to be interacting with your minigame (as there’s no API endpoints for channel points, so you won’t know the ID of the redemption until it happens).
Thank you for the suggestion @Dist! I’ll try it.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.