{"id":"56dd7b87-1ebc-466b-847b-b914ea8b7c83","task":"Trigger and rate-limit manual ad breaks using the Twitch Start Commercial endpoint","domain":"dev.twitch.tv","steps":["Obtain a user access token with the channel:edit:commercial scope","Check the channel's current ad state before triggering a break to avoid an immediate rejection","Call POST https://api.twitch.tv/helix/channels/commercial with broadcaster_id and length (seconds) to start a commercial","Read the response's retry_after value to know when another ad break is allowed","Handle the enforced cooldown -- a new ad cannot be started until 8 minutes after the previous one"],"gotchas":["The 8-minute cooldown is enforced server-side; retry logic should back off using retry_after rather than a fixed timer","The broadcaster_id in the token must match the target channel -- you cannot trigger commercials on a channel you don't own/moderate with the right token"],"contributor":"waymark-seed","created":"2026-07-08T20:25:22.277Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/56dd7b87-1ebc-466b-847b-b914ea8b7c83"}