Get connection information for the selected Twitch account, such as your User ID or OAuth Token.
Be careful when pulling your OAuth token info. Make sure to delete the variable when you don't need it anymore. Do not accidentally expose it on your stream.
Box Name
Type
Description
Login Name
String
Your Twitch login name
Save Variable As
String
Variable to save the result
Type
Dropdown
Value to get. User ID, OAuth token, Login Name or Display Name
Retrieves information about a Twitch user. Provide either their username or user ID (leave the other one empty).
If your SAMMI crashes with an error log relating to this command, make sure you have enabled the View email address scope in your Twitch connection settings. The command will not work without this scope enabled.
This command needs some time to execute, either delay your next commands by 1-2 seconds or use Wait Until Variable Exists command.
Box Name
Type
Description
User Name
String
Username to get the information for
User ID
number
User ID to get the information for
Save Variable
String
Variable to save the whole object
You can access the response object’s data by using Get Object Variable command.
Response Data:
Variable Name
Type
Description
broadcaster_type
string
User’s broadcaster type: “partner”, “affiliate”, or “”.
description
string
User’s channel description.
display_name
string
User’s display name.
id
string
User’s ID.
login
string
User’s login name.
offline_image_url
string
URL of the user’s offline image.
profile_image_url
string
URL of the user’s profile image.
type
string
User’s type: “staff”, “admin”, “global_mod”, or “”.
view_count
number
Total number of views of the user’s channel.
email
string
User’s verified email address. Returned if the request includes the user:read:email scope.
This command needs some time to execute, either delay your next commands by 1-2 seconds or use Wait Until Variable Exists command.
Box Name
Type
Description
Channel Name
String
Channel name for the stream
Save Variable As
String
Variable name to save the whole response object
You can access the response object’s data by using Get Object Variable command.
Response Data:
Variable Name
Type
Description
id
string
Stream ID.
user_id
string
ID of the user who is streaming.
user_login
string
Login of the user who is streaming.
user_name
string
Display name corresponding to user_id.
game_id
string
ID of the game being played on the stream.
game_name
string
Name of the game being played.
type
string
Stream type: “live” or “” (in case of error).
title
string
Stream title.
viewer_count
number
Number of viewers watching the stream at the time of the query.
started_at
string
UTC timestamp.
language
string
Stream language. A language value is either the ISO 639-1 two-letter code for a supported stream language or “other”.
thumbnail_url
string
Thumbnail URL of the stream. All image URLs have variable width and height. You can replace {width} and {height} with any values to get that size image
tag_ids
string
Shows tag IDs that apply to the stream.
is_mature
boolean
Indicates if the broadcaster has specified their channel contains mature content that may be inappropriate for younger audiences.
This command needs some time to execute, either delay your next commands by 1-2 seconds or use Wait Until Variable Exists command.
This command is exactly the same as the old Get Channel Info command, but updated to use the channel name, rather than the channel ID - if you try to use a channel ID, it will fail (which can be verified by the response object not being created in the Variable Viewer). Please make sure to check the first box's label to see whether you need to enter the name or the ID
Box Name
Type
Description
Channel
string
Name of the channel
Save Variable As
String
Variable to save the response
You can access the response object’s data by using Get Object Variable command.
Response Data:
Variable Name
Type
Description
broadcaster_id
string
Twitch User ID of this channel owner
broadcaster_name
string
Twitch user display name of this channel owner
game_name
string
Name of the game being played on the channel
game_id
string
Current game ID being played on the channel
broadcaster_language
string
Language of the channel. A language value is either the ISO 639-1 two-letter code for a supported stream language or “other”.
This command needs some time to execute, either delay your next commands by 1-2 seconds or use Wait Until Variable Exists command.
Box Name
Type
Description
Game Name
String
Game name. The name must be an exact match. For example, “Pokemon” will not return a list of Pokemon games; instead, query any specific Pokemon games in which you are interested. At most 100 name values can be specified.
Save Variable As
String
Variable name to save the response
You can access the response object’s data by using Get Object Variable command.
Gets a list of the custom Channel Point Rewards for the specified channel. Will not return info on standard Rewards, like “Highlight This Message”.
For more information on what the response contains, check out the Response Body table in the Twitch API Reference Guide for Get Custom Reward
This command needs some time to execute, either delay your next commands by 1-2 seconds or use Wait Until Variable Exists command.
Gets a list of the custom emotes for the specified channel.
For more information on what the response contains, check out the Response Body table in the Twitch API Reference Guide for Get Channel Emotes
This command needs some time to execute, either delay your next commands by 1-2 seconds or use Wait Until Variable Exists command.