Skip to navigation

System Messages

View as MarkdownOpen in Claude

When initially connecting to the websocket, a system message with the topic system is sent automatically, confirming the connection with the corresponding username. While the websocket remains connected, a heartbeat system message is sent every 10 seconds containing the current Unix timestamp in millisecond format.

Response

Properties

topic
stringRequired

Returns the topic of the message. Returns "system".

success
string

Returns the username of the authenticated user that established the websocket connection. Returned in the initial connection message only.

{"topic":"system","success":"username"}