Get channel by channel id

Hello,

I am trying to get channel by id as documented here: https://dev.twitch.tv/docs/v5/reference/channels/#get-channel-by-id

When I execute the following: https://api.twitch.tv/kraken/channels/42776357?client_id=

I get the following response: {“error”:“Not Found”,“status”:404,“message”:“Channel ‘42776357’ does not exist”}

I got the channel ID from a generic streams query: https://api.twitch.tv/kraken/streams?client_id=

What am I doing wrong? Is that not a valid channel ID?

You’re not specifying v5 as the API version. The default version of the API is v3 until next year, which still references by name.

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