Spanish Total.js
English
Documentation For AI agents
Contents

WebSocket synchronization

Let connected apps exchange messages through the platform.

.md GitHub
On this page

WebSocket synchronization gives your apps a shared channel. A message sent by one connected client reaches all the other connected clients. It is off by default.

  1. Open Setup, then Settings.
  2. Tick Enable WebSocket data synchronization for 3rd party apps.
  3. Enter your own long random Synchronization Access token, or click Generate.
  4. Click SUBMIT.

The synchronization option with the hidden access token

Connect a client

Connect to the /sync/ address of your portal and pass the token:

wss://portal.example.com/sync/?token=your-access-token

The platform closes connections that have a wrong token.

The Subscribers figure on the dashboard shows how many clients are connected.

Made in Europe