Skip to main content
Every real-time update in Clody is delivered over Socket.IO. There is no polling — as soon as something changes (a new message, a reaction, a voice call, a friend request), the server pushes the event to every affected user instantly. This page is the complete reference for all events across the main namespace (/) and the voice namespace (/bcalls).

Connecting

Connect to the root namespace (/) using your session cookie. Socket.IO handles the upgrade from HTTP to WebSocket automatically.
Once the connection is authenticated, the server emits one of three handshake events:
Clody sends events only to relevant users. You receive events exclusively for Branches and Picnics you are a member of — you will never see messages or reactions from channels you have not joined.

Main Namespace (/) — Server → Client Events

Connection & Account


Branch Messages


Picnic Posts & Comments


Reactions

See the Reactions API page for the full reaction object schema.

Branches & Picnics


Friends


Voice Calls


Main Namespace (/) — Client → Server Events


/bcalls Namespace

The /bcalls namespace handles all in-call signalling: joining, leaving, mic toggling, and screen sharing. Connect to it separately using the same session cookie before emitting any of these events.

/bcalls — Client → Server Events

/bcalls — Server → Client Events


Quick Start Example