About Twitch
Twitch is a live streaming platform popular with gamers, creators, and communities, offering real-time interaction and monetization through subscriptions and donations
Say what should happen in Twitch, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
Twitch is a live streaming platform popular with gamers, creators, and communities, offering real-time interaction and monetization through subscriptions and donations
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Twitch workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverTwitch automation revolves around one moment: a broadcaster going live. Twitch’s EventSub system can push that moment, and many others, to a webhook as it happens. The stream.online and stream.offline subscription types fire when a channel starts and ends a broadcast; channel.follow, channel.subscribe, channel.cheer and channel.raid cover community activity; channel.update reports a title or category change. Because EventSub pushes events, there is no need to poll the Helix streams endpoint every minute to find out whether someone is live.
EventSub webhooks have a handshake people trip over. When you create a subscription, Twitch sends a verification challenge to the callback and expects the challenge string echoed back; afterwards every notification carries a signature computed with the secret you chose, and well-behaved receivers check it and ignore duplicate message IDs, since Twitch may resend a message. Webhook subscriptions are created with an app access token, but the broadcaster still needs to have authorized your app for scopes that protect private data, such as subscriptions or channel point redemptions.
The Helix API is the place for reads and writes outside of events. Get Streams returns live status, viewer count and game; Get Videos lists past broadcasts, highlights and uploads; Get Clips returns clips for a broadcaster within a date range; and channel endpoints can change a stream’s title or category with the right scope. Requests need both a Client ID and a token, and Twitch applies a points-based rate limit per token, reported in response headers, so large lookups should be paced.
Chat is a separate concern. Sending chat messages and moderating are available through Helix endpoints with chat scopes, while reading live chat at volume is a long-running connection rather than a scheduled job. Keep chat workflows narrow, such as posting one announcement when a stream starts, rather than trying to mirror the whole conversation somewhere else.
Starter briefs to set up with your accounts, not finished workflows.
Uses the stream.online event so the post goes out shortly after the broadcast begins, without minute-by-minute polling.
Collects the most-viewed clips of the past week into a list for editing a highlights video.
Stores subscription events during the broadcast and sends one summary at the end, rather than an alert per event.
Subscribe to the stream.online EventSub type for that broadcaster with a webhook transport. Twitch sends a notification when the broadcast starts, after your callback has answered the verification challenge.
Webhook subscriptions are created with an app access token. For event types that expose private data, such as channel.subscribe, the broadcaster must also have granted your app the required scope.
Twitch may resend a notification if it is unsure of delivery. Each message carries a message ID; store handled IDs and ignore repeats.
Twitch uses a token bucket of points per minute: one bucket for app access requests and, for user tokens, limits per client per user. Each response carries Ratelimit-Limit, Ratelimit-Remaining and Ratelimit-Reset headers, and an empty bucket returns 429.
Yes, through Modify Channel Information with the channel:manage:broadcast scope authorized by the broadcaster.
One workflow free. No card. Weekly AI-building limits.