Expose VIPs in the API
Please see the following announcement regarding Twitch API endpoints that have been released today for viewing and managing channel VIPs: https://discuss.dev.twitch.tv/t/new-chat-and-role-management-api-endpoints-are-now-in-open-beta/39563
honestly imbarassing it's not there already
I think something like https://api.twitch.tv/helix/vips/user should return list of channels where user is VIP. I am surprised it's not yet implemented!
How we can expose it? If you find any solution do let me know because I want to do it for a website https://metalgardenscreen.co.uk/.
With a change that was made some time ago to the response of /vips command it's now not always possible to get a full list of all the VIP users in a chat - the response returns display names instead of login names, which, in case of users with non-ascii display names or custom "fancy names with spaces" (e.g. 'sournothardcore') it's impossible to use that non-ascii display names against helix's Get Users endpoint and get their user ID that way. Many third-party tools relied on and still use responses of /mods and/or /vips to effectively get a list of users with these roles in the chat.
While response on /mods didn't change and is off-topic here, /vips one did and like I said, makes it impossible to know who is a user if they have a display name that doesn't match their login name; adding an API to get VIP users would fill in this gap and fix the issue that the change I've mentioned has introduced.
Yes please, getting them through chat adds extra complexity when catching notices. I'd love to have an endpoint for this.
I like this idea. I know that many streamers want to offer viewers "temporary VIP" for a certain channel point amount. As this capability isn't offered in the interface, exposing VIPs for a channel, plus the ability to set or add/remove VIPs would benefit developers who want to offer this functionality.
Similarly, the ability to get/set the modlist would streamline setup experience for Streamlabs, nightbot, etc. Even if this capability was locked to certain API clients that Twitch trusts.
This would be helpful to remember how many chats I'm VIP in or to lookup who is VIP in what channel and could see this be helpful in bot commands. PogChamp