Getting the last channel subscription

Use the Subscriber events API

It’s missing from the main docs, but it is in the Webhook docs and works as a endpoint it’s just missing from the docs

https://dev.twitch.tv/docs/api/webhooks-reference#topic-subscription-events

So call

https://api.twitch.tv/helix/subscriptions/events?broadcaster_id=BroadcasterID

And that’ll give you recent events, most recent first.

You’ll just have to filter out for what you need

The docs error is noted here

1 Like