Private channel

Live Chat & Messaging

Power in-app messaging, customer support chat, team communication, and social features with low-latency WebSocket channels. Support one-on-one conversations, group chats, and broadcast messaging.

Implementation

example.js
import { Apinator } from '@apinator/client'

const client = new Apinator({
  appKey: 'your-key',
  cluster: 'us',
  authEndpoint: '/api/realtime/auth'
})

// Subscribe to a private chat room
const chat = client.connect().subscribe('private-chat-room-42')

// Listen for new messages
chat.bind('message', (data) => {
  renderMessage(data.user, data.text)
})

// Send typing indicator (client event, no server needed)
chat.trigger('client-typing', { user: 'alice' })

Why Apinator for live chat & messaging

Private channels for secure one-on-one and group conversations
Presence tracking to show who is online or typing
Client events for typing indicators without server roundtrip
Channel queries to see which rooms are active right now
Multi-tab presence so users appear online once across devices
Low-latency delivery from the single region you choose for each app (US or EU)

Ready to build live chat & messaging?

Get started in minutes. Completely free, no credit card required.