Loading ZabSys Cloud…

New Business software, email, SMS and AI built for growing companies, with support by a real team

ZabMessaging: messaging platform and chat SDK

Add chat and live messages to your app or website. Connect with one server address and one access key, join channels by name, and each message reaches everyone in the channel as it is sent.

SDK documentation All features Pricing Talk to us

What ZabMessaging does

It runs the live connection, the channels and the message history, so you can build your chat screen without building a realtime server.

  • Delivers messages to everyone in a channel, the sender included
  • Keeps history when you want it, so late joiners can catch up
  • Shows typing, delivered, seen and who is online
  • Gives every app its own channels, keys and limits
  • Works over WebSocket, Socket.IO and REST

A few lines of code

JavaScript
import { ZabMessaging } from 'zab-messaging';

const zab = new ZabMessaging('https://your-server', { accessKey: 'zk_YOUR_ACCESS_KEY' });
await zab.connect();

const room = zab.channel('live-42');
room.onMessage((m) => addComment(m));            // every new message
await room.join({ history: true, limit: 30 });   // with the 30 latest

await room.send('Hello everyone', { isStore: true });  // kept in history
await room.send('psst', { to: ['bob'] });              // private

See the quick start for every platform.

What you can build

Live stream comments

A channel for each stream. Viewers see every comment as it is sent and can load the earlier ones.

Chat rooms and groups

Join as many channels as you need on one connection, with typing indicators and who is online.

Support conversations

Private messages, delivered and seen receipts, and history when the customer comes back.

Notification feeds

Your backend posts over REST and every subscriber receives it at once.

Features

Channels

  • Subscribe to a channel by its name
  • Up to 100 channels on one connection
  • Leave one channel or all of them

History or live only

  • Choose for each message whether it is kept
  • Load the latest messages when joining
  • Page back through older messages

Private messages

  • Send to one user or up to 100 users in a channel
  • Only they and the sender receive it
  • The same listener as other messages

Typing, receipts and presence

  • Show who is typing
  • Delivered and seen receipts
  • See who is online in a channel

Edit and delete

  • Authors can change or remove a message
  • Everyone subscribed is told
  • Message numbering stays the same

Made for weak networks

  • The SDKs reconnect by themselves
  • Channels are joined again
  • Messages missed while offline are delivered

SDKs for your platform

Select one to read how to install it, with a complete example.

Control and security

One key opens one app. You decide who holds it and what it may use.

Separate apps

  • Each app has its own channels and keys
  • Its own storage quota and connection limit
  • Two apps never see each other's messages

Keys you control

  • Make a key for each platform and for your backend
  • Disable or revoke one without touching the others
  • Live connections using it are cut at once

Protection

  • IP block list for one app or the whole system
  • Rate limits and connection limits
  • A log of requests with the user who sent them

Customer portal

  • Sign in with a private link
  • See your apps, usage and access keys
  • Follow live activity and test a key

For your backend

  • REST to send and read messages
  • WebSocket and Socket.IO for live clients
  • Clients for Python, Go, PHP, .NET and Next.js

Ready to try

  • An API playground to send and receive
  • A key tester that says why a key fails
  • Examples for web and Flutter

How to start

1. Tell us your project
Your platforms, how many people will be connected and how much history you keep.
2. Get your access
You receive the server address and an access key for your app.
3. Add the SDK
Connect, join a channel and send your first message with the documentation.
4. Go live and watch
Follow your connections, storage and activity as your app grows.

Pricing on request

The price depends on your connections and storage. Send us your numbers and we will reply with a quote.

ZabMessaging questions

Something else? Email cloud@zabsys.com.

Are messages stored?

Only when you ask for it. A message is kept when the sender sets isStore to true and storing is on for the app. Any other message is delivered live and not kept.

Can I use it with my own backend?

Yes. Your backend can send and read messages over REST, and your own sign-in system decides which user ID each person gets. Keep the server key on your server.

Can I limit who joins a channel?

Access is by app key: anyone who holds an app's key can join its channels, and a user ID is a label, not a password. Where messages must stay private, give out keys and user IDs from your own backend.

What are the size limits?

A message can hold 8,000 bytes of text and 16 KB of JSON data. One connection can join 100 channels. Storage and the number of connections are set for each app.

What happens in very large channels?

Messages, history and typing work at any size. Above 500 members, join and leave events are not sent. Above 200 members, receipts are not made.

Which SDKs are tested?

JavaScript, React, Next.js, Flutter, Python, Go and PHP are tested against a live server. Build and test the Android, iOS and .NET SDKs in your project before you ship.

Planning chat for your app?

Tell us what you are building. We will help you plan the channels, keys and limits.