Create Custom Reward
documentedCreates a Custom Reward in the broadcaster’s channel.
POST /helix/channel-points/rewardsChannel Pointsno implementation yet0 runsNo 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/channel_points/custom_rewards?broadcaster_id={{$broadcaster_id}}" \
-X POST \
-H "Client-Id: {{TWITCH_CLIENT_ID}}" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"title": "{{$title}}", "cost": {{$cost}}, "prompt": "{{$prompt}}", "is_enabled": {{$is_enabled}}, "background_color": "{{$background_color}}"}'