direct domain
Events sent directly to a WebSocket connection. These are mostly responses to requests. Cannot be subscribed to; you are automatically subscribed.
whoami type
Sent in response to a whoami request.
connectionIDstringlogin-success type
[Deprecated] Sent when a user finishes signing in to a Crowd Control account using the connectionID from the whoami event. The token it carries authenticates subsequent requests.
tokenCrowdControlAuthTokenlogin-failure type
[Deprecated] Sent when a sign-in attempt against your connectionID could not be completed.
title?stringmessage?stringlink-success type
This event carries no payload.
link-failure type
This event carries no payload.
subscription-result type
Sent in response to a subscribe request. Topics you were not permitted to join are listed under failure.
successPubSubEventTopic[]failurePubSubEventTopic[]bad-request type
Sent when the server could not process a request you sent.
messagestringapplication-auth-code type
Sent in response to an application requesting a device-style auth code. Show code/qrCode/url to the user depending on the device.
codestringurlstringqrCode?stringapplication-auth-code-redeemed type
Sent once a user has redeemed the auth code you issued.
codestringapplication-auth-code-error type
Sent when an auth code could not be issued or redeemed.
messagestringgame-session-checksum-update type
A new free-coin claim checksum. Clients tracking free coin claims should replace their stored checksum with this value.
checksumstringgoal-update type
Current state of a streamer's goal, sent when you subscribe to it. Further updates are sent via goal domain.
type'effects' | 'usd' | 'coins' | 'uniqueUsers'targetnumbertitle?stringupdatedAtstringgoalIDstringccUIDstringraisednumberfreeCoins?booleanlocalCoins?booleanglobalCoins?booleantwitchBits?booleantwitchSubs?booleantwitchChannelPoints?booleantikTokCoins?booleantikTokFree?booleantikTokPaid?booleanautoReset?booleanstatus'active' | 'ended'endedAt?stringcreatedAtstringviewedAtstring