Swarmz
IntegrationsMessaging and automation

Twitch

Read Twitch users, channels, live streams, videos, and followed streams

Connect Twitch when a project needs current channel, stream, or video data. A shared connection uses one Twitch account for a project. A published app can let each signed-in app user authorize their own account.

This release is read-only. It does not send chat messages, moderate channels, start broadcasts, or change channel settings.

Before you connect

A Swarmz administrator must register an application in the Twitch developer console, add the callback URL shown on the Swarmz admin integration card, and enable the connector. Each user then completes Twitch OAuth. Swarmz sends both the user's access token and the configured application client ID to the fixed Twitch API origin.

The followed-stream operation requests user:read:follows. Other released reads use Twitch's public Helix resources with the authorized application and user context. Twitch requires applications to validate OAuth tokens; revoked or expired access returns the connection to a reconnect state.

Available operations

OperationWhat it doesLimit per minute
get_usersGets users by ID or login30
search_channelsSearches channels and can restrict results to live channels30
get_channelsGets channel information for broadcaster IDs30
list_streamsLists live streams using user, game, language, and type filters30
list_videosLists videos by video, user, or game with period and sort filters30
list_followed_streamsLists live streams followed by the connected user30

Connect Twitch

For a shared dashboard, ask: “Use our Twitch connection to show whether these channels are live and display their latest videos.” For a personal app experience, ask: “Let each signed-in user connect Twitch and show live channels they follow.”

Select Connect new, approve Twitch access, then link the connection to the project. Use an app-user connection when the result depends on each viewer's followed channels.

Verify Twitch

  1. Get a known user by login and confirm the returned broadcaster ID.
  2. Search for the channel and compare its live state with Twitch.
  3. List its videos and confirm the order and titles.
  4. List followed live streams for the connected user's ID.
  5. Revoke the application in Twitch and confirm the next request asks for reconnection.

If public channel reads work but followed streams fail, reconnect and approve follow access. If every request fails, confirm the admin application still exists, its client ID matches the stored configuration, and its callback URL is exact.

On this page