Subscribe to Twitch shared chat session events and fetch the active session for a channel
domain: dev.twitch.tv · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Call GET https://api.twitch.tv/helix/shared_chat/session with broadcaster_id and an app or user access token to fetch the current session
Subscribe to channel.shared_chat.begin to detect when a channel joins an active shared chat session
Subscribe to channel.shared_chat.update to catch membership or host changes within an ongoing session
Subscribe to channel.shared_chat.end to know when a channel leaves or the session ends
Use the session's participant list to correctly attribute chat messages across all linked channels during a shared session
Known gotchas
Chat messages during a shared session can originate from any linked channel -- treating chat as single-channel-only will misattribute or drop messages from co-streamed channels
The session endpoint returns no data when a channel isn't currently in a shared chat session, so don't assume every call has a payload
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?