If you click on the link you shared in your first post, you’ll get the error: “Must provide a valid Client-ID or OAuth token”.
This error refers to the Client-ID authorization (OAuth) that 3ventic and barry brought up previously. To get a client-id, you’ll need to create an application here: https://dev.twitch.tv/dashboard/apps/create
To get an oauth (authorization) token, you’ll need to read the link that barry shared above. It requires using an application that you registered to authenticate the user and generate a token.
You can use either the client-id or the oauth token to then perform the request you originally stated.