Fumadocs

Subscribe to System Events

Receive
/system/events
Server

Subscribe to system-wide notifications and alerts

System-wide events including maintenance notifications, rate limit alerts, and security events.

These events are broadcast to all connected clients and don't require specific subscriptions.

Authorization

headerAuthorizationBearer <JWT>

JWT Bearer token authentication for WebSocket connections

Code Sample
const socket = new WebSocket("wss://galaxy.scalar.com/system/events?api_key=YOUR_API_KEY");

socket.addEventListener("message", (event) => {
  console.log(event.data);
});

Messages