I am doing some work on my bot and need the specific sub plans of subscribers to a channel.
I have set up everything according to the API, but when I look through my json text when getting the channel subscribers, there are no “sub_plan” fields. Is there something I am missing? Is there another way to the get the sub plans for each subscriber?
If someone could help me down the right direction, I would appreciate it!
You can either add &api_version=5 to the end of the request URL, or add the header Accept: application/vnd.twitchtv.v5+json. Also, when using v5 you will need to use a channel ID rather than a channel name