Sign in

Start Commercial

documented

Starts a commercial on the specified channel.

POST /helix/channels/commercialAdsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl \"https://api.twitch.tv/helix/channels/commercial\" -X POST -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" -H \"Client-Id: {{TWITCH_API_KEY}}\" -H \"Content-Type: application/json\" --data-raw '{"broadcaster_id": "{{$broadcaster_id}}", "length": {{$length}}}'