Docs/Overview
Docs/Getting Started

Overview

Socketo Cloud — managed serverless WebSocket API.

Overview

Socketo Cloud provides a Pusher-compatible WebSocket API for building real-time features like live chat, notifications, and dashboards. If you have used Pusher before, you can migrate by changing only a few configuration values. Unsupported features are listed in the limits documentation.

Core Concepts

Channels

Channels are named connections that group subscribers together. When you publish an event to a channel, only clients subscribed to that channel receive it.

  • Public channels — anyone can subscribe, no authentication needed
  • Private channels — require server-side authentication (private- prefix)
  • Presence channels — private channels that also track user identity (presence- prefix)

Events

Events are messages sent over channels. Each event has a name and a data payload. Your server triggers events via the REST API, and connected clients receive them in real time.

Connections

Clients connect to Socketo Cloud via WebSocket using the Pusher Protocol (v7). Each connection gets a unique socket_id used for identification and exclusion.

Quick Start

Install the Pusher client SDK:

bash
npm install pusher-js

Configure and connect:

js
import Pusher from 'pusher-js'

const pusher = new Pusher('YOUR_APP_KEY', {
  wsHost: 'wss.socketo.dev',
  wssPort: 443,
  forceTLS: true,
  cluster: 'socketo',
  authEndpoint: 'https://your-api.com/pusher/auth',
})

const channel = pusher.subscribe('my-channel')

channel.bind('my-event', (data) => {
  console.log('Received:', data)
})

Socketo Cloud Platform

Socketo Cloud is a managed serverless WebSocket platform — powered by global edge infrastructure (Cloudflare Workers & Durable Objects), handling auto-scaling, high availability, and real-time analytics so you can focus on building.

Sign in with your GitHub or Google account, create a team and your first app, then copy your application key to start connecting.