Parameters for OAuth token?

I am attempting to get the live status of a channel with Twitch’s API using GET with:

https://api.twitch.tv/helix/streams?client-id=[client id]&channel=[channel]

What parameters do I use to insert my OAuth token into the URL?

The Client-Id and Authorization fields are sent in the header of the request, they are not sent as querystring params.

How to do this will depend on what library you’re using to make HTTP requests so you should refer to the documentation for that library.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.