How do I get Authorization code?

I reached maximum limit reply so couldn’t reply

I’m trying to get Twitch data from "Get Game Analytics - https://dev.twitch.tv/docs/api/reference/#get-game-analytics

Still I need to use Client-Credentials? In Client credentials I’m able to do Post Command and retrieve Access Token but that access token cannot be used in “Get Game analytics” pipeline it then throws an error 401. -"Missing User Authentication "