Create and resolve a channel Predictions event using the Twitch Helix API

domain: gaming · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain a user access token with the channel:manage:predictions scope for the broadcaster (channel:read:predictions is sufficient for read-only access)
  2. Call POST /helix/predictions with the broadcaster ID, prediction title, an array of 2-10 outcome titles, and a prediction window to create the event
  3. Poll or read GET /helix/predictions to display the live prediction and outcome point totals to viewers
  4. When the outcome is known, call PATCH /helix/predictions with status=LOCKED to stop new votes, then again with status=RESOLVED and the winning_outcome_id to pay out points
  5. Handle status=CANCELED as a fallback path if the prediction needs to be voided and refunded instead of resolved

Known gotchas

Related routes

Create and resolve channel polls programmatically using Twitch Helix
dev.twitch.tv · 5 steps · unrated
Fetch global and per-channel Cheermotes and reconcile Bits cheer events via Twitch Helix
dev.twitch.tv · 5 steps · unrated
Subscribe to Twitch EventSub webhook events for live stream and channel point redemption 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