Get User Color
Gets the colour of the specified user’s name in chat rooms.
This is an Async (Purple) Command, which operates differently from standard commands.
| Box Name | Type | Description |
|---|---|---|
| Login Name | Dropdown | The name of the channel to use for authentication in the API Header |
| Save Variable As | String | Variable to save the result |
Saved Payload:
| Variable Name | Type | Description |
|---|---|---|
| color | String | Hex code for the colour of the specified user’s name |
| user_id | String | The user’s ID |
| user_login | String | The user’s login name |
| user_name | String | The user’s display name |
Twitch API Endpoint: GET /helix/chat/color
Example SAMMI Response Object:
{
"user_id": "77777777",
"user_login": "colorfulviewer",
"user_name": "ColorfulViewer",
"color": "#FF4500"
}