Chatters / Viewers Helix API Endpoint
The existing API endpoint for getting chatters predates User IDs and only returns usernames. It's also part of TMI and not officially documented, which could result in it being removed at any point without any notice.
Many bots use the endpoint for channel loyalty points, and then have to make secondary calls to the get the user ID.
This endpoint should no longer exist.
It should have never made it to v5 and I'm perplexed how an open endpoint that shows all of the viewers in chat is still active. It's been abused for years.
If you need to keep it, then add a `channel:read:chatters` scope; and don't grandfather it in. Sunset.
It would be nice if this endpoint will also return user IDs, not just their logins. Maybe even chat badges.
There is still no official way to get a user list of viewers/chatters. At the moment lots of implementations (especially for activity rewards) rely on undocumented/unofficial endpoints.
I am open for helping out into finding a solution that could work best as a eventsub topic.
Not only for loyalty, this is very helpful for moderation, so you can see who is in the channel, especially which mods are online or not. The mods are also on the undocumented endpoint.
With the scheduled sunset of /NAMES the undocumented endpoint will probably be seeing and increase in usage. I'm sure lots of bot devs would like to see a long term/documented endpoint for chatter lists. Mostly related to loyalty points.
👍 This is still needed even with Twitch's Channel Points