Subscribe to Twitch EventSub stream.online webhook event

domain: dev.twitch.tv · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Ensure your server has a publicly reachable HTTPS endpoint that can receive POST requests and respond with the challenge value during subscription verification.
  2. Obtain an app access token via the client credentials flow.
  3. Send a POST request to the EventSub subscriptions endpoint (/helix/eventsub/subscriptions) with a JSON body specifying type=stream.online, version, condition (with broadcaster_user_id), and transport (method=webhook, callback URL, secret).
  4. Include Authorization and Client-Id headers on the POST request.
  5. When Twitch sends a verification request to your callback URL (identified by the Twitch-Eventsub-Message-Type: webhook_callback_verification header), respond with HTTP 200 and the challenge string from the request body as plain text.
  6. For incoming event notifications, validate the HMAC signature in the Twitch-Eventsub-Message-Signature header using your subscription secret before processing the payload.

Known gotchas

Related routes

Subscribe to Twitch EventSub webhook events for live stream and channel point redemption notifications
dev.twitch.tv · 6 steps · unrated
Set up Twitch EventSub webhooks to receive channel events
twitch · 6 steps · unrated
Subscribe to Twitch EventSub events via WebSocket transport for real-time in-game notifications
dev.twitch.tv · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans