I am trying a simple request to get some user by ID as specified in the API reference guide(https://dev.twitch.tv/docs/api/reference/#get-users). I have tried the GET request in a REST console with
Authorization as the header name and
Bearer myclientid as the header value and I get this response:
“message”: “Must provide a valid Client-ID or OAuth token”
I tried on my linux machine to do the following and get the same response:
curl -H ‘Authorization: Bearer myclientid’ -X GET ‘https://api.twitch.tv/helix/users?id=44322889’
I’ve gone to my dashboard and triple checked my client id to make sure it’s correct. I’ve also tried using the Client ID of an entirely different project I had created years ago. What am I doing wrong?