Each API that your app calls, and EventSub subscription your application subscribes to, specifies the type of token it requires. For example, some APIs require a User Access Token and others require an App Access Token. For APIs that require a User Access Token, the API reference content identifies the scopes that the user must authorize. The authorization gives your app permission to perform the specified action on the user’s behalf. App access tokens don’t use scopes.
When you send an HTTP GET request to https://id.twitch.tv/oauth2/authorize, you set the scope query parameter to the list of scopes required to support your app’s functionality. The list is space delimited. You must URL encode the list; for example, &scope=user%3Aedit%20user%3Aread%3Aemail.
NOTE An application must request only the scopes required by the APIs that their app calls. If you request more scopes than is required to support your app’s functionality, Twitch may suspend your application’s access to the Twitch API.
Twitch API and EventSub scopes
The following table lists the scopes used by the Twitch API. To see a list of all Twitch API endpoints, including those that do not require scopes, see the Twitch API reference.
| Scope Name | Type of Access and Associated Endpoints |
|---|---|
analytics:read:extensions | View analytics data for the Twitch Extensions owned by the authenticated account. |
analytics:read:games | View analytics data for the games owned by the authenticated account. |
bits:read | View Bits-related products and redemptions for a channel. |
channel:bot | Joins your channel's chatroom as a bot user, and perform chat-related actions as that user. |
channel:edit:commercial | Run commercials on a channel. |
channel:manage:ads | Manage ads schedule on a channel. |
channel:manage:broadcast | Manage a channel's broadcast configuration, including updating channel configuration and managing stream markers and stream tags. |
channel:manage:clips | Manage Clips for a channel. |
channel:manage:extensions | Manage a channel's Extension configuration, including activating Extensions. |
channel:manage:guest_star | Manage Guest Star for your channel. APIGet Channel Guest Star SettingsUpdate Channel Guest Star SettingsGet Guest Star InvitesSend Guest Star InviteDelete Guest Star InviteGet Guest Star SessionCreate Guest Star SessionEnd Guest Star SessionAssign Guest Star SlotUpdate Guest Star SlotDelete Guest Star SlotUpdate Guest Star Slot Settings |
channel:manage:moderators | Add or remove the moderator role from users in your channel. |
channel:manage:polls | Manage a channel's polls. |
channel:manage:predictions | Manage of channel's Channel Points Predictions |
channel:manage:raids | Manage a channel raiding another channel. |
channel:manage:redemptions | Manage Channel Points custom rewards and their redemptions on a channel. |
channel:manage:schedule | Manage a channel's stream schedule. |
channel:manage:videos | Manage a channel's videos, including deleting videos. |
channel:manage:vips | Add or remove the VIP role from users in your channel. |
channel:moderate | Perform moderation actions in a channel. EventSubChannel BanChannel Unban |
channel:read:ads | Read the ads schedule and details on your channel. EventSubChannel Ad Break Begin |
channel:read:charity | Read charity campaign details and user donations on your channel. |
channel:read:editors | View a list of users with the editor role for a channel. |
channel:read:goals | View Creator Goals for a channel. |
channel:read:guest_star | Read Guest Star details for your channel. |
channel:read:hype_train | View Hype Train information for a channel. |
channel:read:polls | View a channel's polls. APIGet Polls |
channel:read:predictions | View a channel's Channel Points Predictions. |
channel:read:redemptions | View Channel Points custom rewards and their redemptions on a channel. |
channel:read:stream_key | View an authorized user's stream key. |
channel:read:subscriptions | View a list of all subscribers to a channel and check if a user is subscribed to a channel. |
channel:read:vips | Read the list of VIPs in your channel. APIGet VIPs |
clips:edit | Manage Clips for a channel. APICreate Clip |
editor:manage:clips | Manage Clips as an editor. |
moderation:read | View a channel's moderation data including Moderators, Bans, Timeouts, and Automod settings. |
moderator:manage:announcements | Send announcements in channels where you have the moderator role. |
moderator:manage:automod | Manage messages held for review by AutoMod in channels where you are a moderator. |
moderator:manage:automod_settings | Manage a broadcaster's AutoMod settings. |
moderator:manage:banned_users | Ban and unban users. |
moderator:manage:blocked_terms | Manage a broadcaster's list of blocked terms. |
moderator:manage:chat_messages | Delete chat messages in channels where you have the moderator role and manage pinned chat messages. |
moderator:manage:chat_settings | Manage a broadcaster's chat room settings. |
moderator:manage:guest_star | Manage Guest Star for channels where you are a Guest Star moderator. |
moderator:manage:shield_mode | Manage a broadcaster's Shield Mode status. EventSubShield Mode BeginShield Mode End |
moderator:manage:shoutouts | Manage a broadcaster's shoutouts. EventSubShoutout CreateShoutout Received |
moderator:manage:suspicious_users | Manage suspicious user statuses in channels where the user has the moderator role. |
moderator:manage:unban_requests | Manage a broadcaster's unban requests. |
moderator:manage:warnings | Warn users in channels where you have the moderator role. |
moderator:read:automod_settings | View a broadcaster's AutoMod settings. EventSubAutoMod Settings Update |
moderator:read:banned_users | Read the list of bans or unbans in channels where you have the moderator role. |
moderator:read:blocked_terms | View a broadcaster's list of blocked terms. |
moderator:read:chat_messages | Read deleted chat messages in channels where you have the moderator role and get pinned chat messages. |
moderator:read:chat_settings | View a broadcaster's chat room settings. |
moderator:read:chatters | View the chatters in a broadcaster's chat room. APIGet Chatters |
moderator:read:followers | Read the followers of a broadcaster. EventSubChannel Follow |
moderator:read:guest_star | Read Guest Star details for channels where you are a Guest Star moderator. |
moderator:read:moderators | Read the list of moderators in channels where you have the moderator role. |
moderator:read:shield_mode | View a broadcaster's Shield Mode status. EventSubShield Mode BeginShield Mode End |
moderator:read:shoutouts | View a broadcaster's shoutouts. EventSubShoutout CreateShoutout Received |
moderator:read:suspicious_users | Read chat messages from suspicious users and see users flagged as suspicious in channels where the user has the moderator role. |
moderator:read:unban_requests | View a broadcaster's unban requests. |
moderator:read:vips | Read the list of VIPs in channels where you have the moderator role. |
moderator:read:warnings | Read warnings in channels where you have the moderator role. |
user:bot | Join a specified chat channel as your user and appear as a bot, and perform chat-related actions as your user. |
user:edit | Manage a user object. APIUpdate User |
user:edit:broadcast | View and edit a user's broadcasting configuration, including Extension configurations. |
user:manage:blocked_users | Manage the block list of a user. |
user:manage:chat_color | Update the color used for the user's name in chat. |
user:manage:whispers | Receive whispers sent to your user, and send whispers on your user's behalf. APISend Whisper EventSubWhisper Received |
user:read:blocked_users | View the block list of a user. |
user:read:broadcast | View a user's broadcasting configuration, including Extension configurations. |
user:read:chat | Receive chatroom messages and informational notifications relating to a channel's chatroom. |
user:read:email | View a user's email address. |
user:read:emotes | View emotes available to a user |
user:read:follows | View the list of channels a user follows. |
user:read:moderated_channels | Read the list of channels you have moderator privileges in. |
user:read:subscriptions | View if an authorized user is subscribed to specific channels. |
user:read:whispers | Receive whispers sent to your user. EventSubWhisper Received |
user:write:chat | Send chat messages to a chatroom. |
IRC Chat Scopes
The following table lists the scopes used by Twitch IRC.
| Scope Name | Type of Access |
|---|---|
chat:edit | Send chat messages to a chatroom using an IRC connection. |
chat:read | View chat messages sent in a chatroom using an IRC connection. |