Twitch API endpoint payloads for retrieving Twitch emotes (Get Channel Emotes, Get Global Emotes, and Get Emote Sets) have been updated to include image options per emote and a template string allowing you to customize the image request for your application’s use case.
You will notice that these endpoints now include a top-level field for “template,” which at the time of this post looks like the following.
"template": "https://static-cdn.jtvnw.net/emoticons/v2/{{id}}/{{format}}/{{theme_mode}}/{{scale}}"
Each emote object now includes image options such as format
, scale
, and theme_mode
as well as the valid values for each of these options per emote. For example, format
will only include static
if the emote is not animated.
To check out these updates, refer to the documentation linked on the endpoints mentioned above or read more about the Twitch emotes CDN URLs in the Chat & Chatbots section.