Late last year, we added an endpoint to the Helix namespace to retrieve subscriptions:
While polling the API is often a reasonable approach, we knew that a discrete Webhooks topic was needed. We’re happy to announce the release of the
GET helix/subscriptions/events endpoint which in turn powers the ability to receive subscription events via Webhooks.
The endpoint allows you to retrieve all subscription events for the past five days. You can also filter it by a specific subscription event ID or a subscriber user ID.
After subscribing to the Webhooks topic, you’re immediately notified when:
- Viewer’s payment has been processed and their subscription officially starts.
- Viewer’s subscriptions ends.
- Viewer shares their subscription status with the streamer in chat.
To get started
Check out the documentation for the Subscription Events endpoint.
Check out the documentation for the Subscription Webhooks topic.
Let us know if you have any questions or feedback about this API below, or use the API category for more detailed inquiries.
Check out the Summer 2019 Twitch API Updates blog post for even more news.