Attempting to see if user is streaming! - 401 Error

So how would I do that? Would it be like “https://id.twitch.tv/oauth2/token?client_id=id&client_secret=id&grant_type=client_credentials”?