You can use the Get Users endpoint https://dev.twitch.tv/docs/api/reference/#get-users to get user information based on an access token by sending it as the Authorizaiton: Bearer YOUR_ACCESS_TOKEN header.
1 Like