Error 401 with new API

You need to add the Authorization: Bearer <YourOAuthToken> header.

Here are the step by step guide on what to do: https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#oauth-client-credentials-flow

1 Like