User ID -> Username Retrieval

Been struggling with this for a couple days now. Documentation seems to be very poor when it comes to Twitch API…

I’m receiving a 400 error saying that No client id specified… What am I doing wrong here?

$.get(“https://api.twitch.tv/kraken/users/” + payload.user_id + “?client-id=xxxxxxx”, …

Thanks