API Authentication in JS

How do I put the ID in the header using JS? GET https://api.twitch.tv/helix/streams/<channel>client-ID=uo6dggojyb8d6soh92zknwmi5ej1q2?