Get Channel ID by Authorization token

You didn’t specify a client-id.

I copied the examples from the docs exactly, and the docs have an error. Should be

curl -H 'Client-ID: yourClientID' \
-H 'Authorization: Bearer YourAccessToken' \
-X GET 'https://api.twitch.tv/helix/users'