New APIs (helix) unauthorized error

I called APIs using query string.
https://api.twitch.tv/kraken/user?client_id=XXX&oauth_token=XXX

but, new APIs return unauthorized error.
https://api.twitch.tv/helix/videos?client_id=XXX&oauth_token=XXX&user_id=XXX

I want to use only query string.
client_id and oauth_token have to be set in header to use new APIs (helix)??

Yes, you need to send them in header, also the naming is slightly different as it “Client-Id” and the OAuth token needs to be send in the Authorisation header.

thanks.

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