Endpoints
Get Global Badges
Returns Twitch global chat badges. These are badges available across all Twitch channels (e.g., Twitch Staff, Verified, Prime Gaming).
Requires the connections.twitch permission to be enabled on your API key, and you must have a Twitch account connected to your TeamBattles account.
GET
Documentation Index
Fetch the complete documentation index at: https://teambattles.gg/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
If you haven’t connected your Twitch account, go to Settings > Connections in the TeamBattles app.What Are Global Badges?
Global badges are Twitch badges available across all channels. Examples include:- Twitch Staff - Twitch employees
- Twitch Admin - Twitch administrators
- Broadcaster - The channel owner
- Moderator - Channel moderators
- VIP - VIP users
- Subscriber - Default subscriber badges
- Prime Gaming - Amazon Prime members
- Verified - Verified accounts
Caching
The response includes aCache-Control: public, max-age=3600 header, indicating the data can be cached for 1 hour. Badge images rarely change, so caching is recommended.
Use with Channel Badges
For a complete chat badge display, you’ll typically need both:- Global badges (this endpoint) - For universal badges like moderator, VIP
- Channel badges (Get Channel Badges) - For channel-specific subscriber badges
set_id.