Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

Bashore Technologies


Blog of Andrew Bashore. Featuring project updates, tutorials, code, tidbits and other jargon.

ChatDepot API for Twitch Group Chat

Disclaimer: This is not official documentation of the API. Group chat is still beta and the information here may become outdated at any time.

Authorization

ChatDepot requires a valid chat_login OAuth token be passed with each call. This token must be passed in the oauth_token parameter in the query string.

Ex: https://chatdepot.twitch.tv/room_memberships?oauth_token=XXXXXXXXX

Listing existing rooms

GET https://chatdepot.twitch.tv/room_memberships  

Creating a new room

POST https://chatdepot.twitch.tv/rooms?irc_channel={irc_channel}&display_name={display_name}  
  • irc_channel = IRC room name. Must start with _. (Required)
  • display_name = Display name in room list. (Required)

Modifying existing room

PUT https://chatdepot.twitch.tv/rooms/{irc_channel}?public_invites_enabled={public_invites_enabled}&display_name={display_name}  
  • irc_channel = IRC room name. (Required)
  • public_invites_enabled = Allow anyone to invite. Valid options: 0 or 1. (Required)
  • display_name = Display name in room list. (Required)

Inviting a user

POST https://chatdepot.twitch.tv/room_memberships?irc_channel={irc_channel}&username={username}  
  • irc_channel = IRC room name. (Required)
  • username = Username of user to invite. (Required)

Deleting a room

DELETE https://chatdepot.twitch.tv/rooms/{irc_channel}  
  • irc_channel = IRC room name. (Required)


Discussions

comments powered by Disqus