Sign in

Create Poll

documented

Creates a poll.

POST /helix/pollsPollsno 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/polls' \
  -X POST \
  -H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
  -H 'Client-Id: {{TWITCH_CLIENT_ID}}' \
  -H 'Content-Type: application/json' \
  -d '{"broadcaster_id":"{{$broadcaster_id}}","title":"{{$title}}","choices":[{"title":"{{$choice1_title}}"},{"title":"{{$choice2_title}}"},{"title":"{{$choice3_title}}"},{"title":"{{$choice4_title}}"},{"title":"{{$choice5_title}}"}],"duration":{{$duration}},"channel_points_voting_enabled":{{$channel_points_voting_enabled}},"channel_points_per_vote":{{$channel_points_per_vote}}}'