If you have the target user’s login/username, you can request their user id with this endpoint:
GET https://api.twitch.tv/helix/users?login=<username>
Include the Client ID for your application in the header, no other authorization is needed.
If you have the target user’s login/username, you can request their user id with this endpoint:
GET https://api.twitch.tv/helix/users?login=<username>
Include the Client ID for your application in the header, no other authorization is needed.