Create EventSub Subscription
documentedCreates an EventSub subscription.
POST /helix/eventsub/subscriptionsEventSubno 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/eventsub/subscriptions" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Client-Id: {{TWITCH_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"type":"{{$type}}","version":"{{$version}}","condition":{"broadcaster_user_id":"{{$broadcaster_user_id}}"},"transport":{"method":"webhook","callback":"{{$callback}}","secret":"{{$secret}}"}}'