Snooze or retrieve the ad schedule for a Twitch channel via API

domain: dev.twitch.tv · 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 channel:read:ads for schedule reads, or channel:manage:ads for snooze operations, matching the broadcaster's account
  2. GET https://api.twitch.tv/helix/channels/ads?broadcaster_id={id} to retrieve next_ad_at, last_ad_at, duration, snooze_count, and snooze_refresh_at fields
  3. To delay the next automatic mid-roll ad, POST to https://api.twitch.tv/helix/channels/ads/schedule/snooze?broadcaster_id={id}; this pushes the next ad back by 5 minutes
  4. Note that a broadcaster must wait at least 8 minutes between running consecutive ads; enforce this in your bot logic before triggering manual ads
  5. Cache the snooze_count and snooze_refresh_at values to inform the broadcaster how many snoozes remain before the next refresh

Known gotchas

Related routes

Trigger and rate-limit manual ad breaks using the Twitch Start Commercial endpoint
dev.twitch.tv · 5 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