[SOLVED] API 401 unauthorized

Yes, the URL is the issue. You’re trying to send a request to yourself lol. To get a an OAuth token from Twitch, you should be sending a POST request to https://id.twitch.tv/oauth2/token with all the required data, as specified in the docs https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#oauth-client-credentials-flow

1 Like