New Self-serve

Chat SDK and in-app chat API for your app

Add 1:1 chat, groups and live-stream rooms to your app in an afternoon, with no backend: add your App Key in the app and connect. A messaging SDK with media and voice notes, receipts, typing, presence, push and call invites that pair with the Titli Video SDK.

The first 1,000 monthly active users are free every month. After that, from ₹750$8.00 per 1,000 MAU, from the same prepaid balance as your calls.

Everything an in-app chat needs

One WebSocket, one REST API and SDKs that handle the hard parts: ordering, retries, offline and unread counts.

1:1 and group chat

Direct conversations and groups with roles (owner, admin, member), add and remove members, mute and leave.

Receipts, typing, presence

Sent, delivered and read ticks, typing indicators, online status and last seen, with exact unread counts per conversation.

Reactions, replies, mentions

Emoji reactions, quoted replies and @mentions. Senders can edit a text or recall a message within a window you set.

Live-stream rooms

Large rooms for live video and audio: late joiners see the last 50 messages, with slow mode, freeze and per-user rate limits.

Call invites

Ring, accept, reject, cancel and timeout signalling that hands over to the Titli Video SDK for the call itself.

Moderation built in

Profanity filter (mask or block), your own word list, user reports, bans and server-side recall.

Message types

Six message types cover everyday chat and anything your product invents.

  • TextUp to 4,000 characters, with mentions and replies
  • ImageJPEG, PNG, WebP, GIF, HEIC with size hints
  • FilePDF, documents, zip and short video clips
  • Voice noteRecorded audio with duration and waveform
  • CustomYour own JSON: gifts, cards, polls, orders
  • SystemSent by your server: joins, notices, events

Also in every plan: message search inside a conversation, delete-for-me, block and unblock, per-conversation mute, signed media URLs, and content sniffing on upload (a renamed executable is refused).

Live rooms

Live chat SDK for streams: rooms built for crowds

Run the chat next to a live video or audio room. Rooms fan out through Redis across instances, so one busy stream does not slow the rest of your app.

  • Join by room ID with one SDK call; late joiners get the last 50 messages.
  • Slow mode and freeze from your server, per room, from 0 to 3,600 seconds.
  • Per-user rate limit (5 messages per 10 seconds by default, set per project).
  • Host and system messages from your server skip the rate limit.
  • Measured: one message reached 5,000 room members in 40 to 72 ms in our local load test.
live-room.js
await chat.joinRoom('live_123');                 // the last 50 messages for late joiners
await chat.sendRoomMessage('live_123', 'hi!');   // rate limited per user
chat.on('message.new', (m) => render(m));        // room messages arrive like any other
Call invites

Call invites, tied to the Video SDK

Chat carries the invitation and the Titli Video SDK carries the media. A user taps the video button in a chat, the other phone rings, and both join a metered call.

  • Invite, accept, reject, cancel, timeout as first-class events, on every SDK.
  • Push for closed apps: the invite arrives as a push notification when the callee is offline.
  • No backend in between: with the App Key the caller starts the call, the call ID rides along in the invite (up to 2 KB) and the other phone joins it.
  • Included in every plan, the Free plan too. Call minutes are billed at the normal call rates.
call-invite.js
// Chat carries the invitation; the Titli Video SDK carries the media.
// Quick mode on both: TitliVideo.init({ appKey, userId }) once, like the chat.
// caller: start the call (you are the caller and the payer), then ring
const call = await TitliVideo.startCall({ type: 'video', container: '#stage' });
const inv = await chat.inviteCall('u_99', { timeout_s: 30, data: { type: 'video', call_id: call.callId } });
// chat.cancelCall(inv.invitation_id) stops the ringing; 'call.rejected' and
// 'call.timeout' (after timeout_s) tell you nobody picked up: then TitliVideo.calls.end(call.callId)

// callee: gets 'call.invite' (and a push if the app has no live connection)
chat.on('call.invite', (invite) => {
  showRinging(invite.inviter_name || invite.inviter, invite.data.type);
  // Accept:  await chat.acceptCall(invite.invitation_id);
  //          await TitliVideo.joinCall(invite.data.call_id, { container: '#stage' });
  // Decline: await chat.rejectCall(invite.invitation_id, 'busy');
});

Moderation, push, offline and history

The parts that decide whether chat is safe and dependable in production.

Moderation

  • Profanity filter per project: off, mask or block
  • Your own blocked-word list (up to 500 words)
  • Users report messages; you review them in the console
  • Ban a user for a period or for good
  • Recall any message from your server
  • Webhooks for sent, recalled and reported messages

Push notifications

  • Your own Firebase (FCM) and Apple (APNs) credentials
  • Credentials are stored encrypted
  • Sent only when the user has no live connection
  • Muted conversations and blocked senders stay silent
  • Optional message preview in the notification
  • Bursts in one conversation collapse into one alert

Offline and history

  • Messages sent offline are queued, retried and never duplicated
  • Gap-free ordering per conversation, so nothing arrives out of order
  • Automatic resync after a reconnect
  • History paging, newest first, 30 to 100 at a time
  • History kept 30, 90 or 180 days by plan
  • Erase a user and their data with one API call
push.js
// Register the device token after connect
chat.registerPush('fcm', fcmToken);                    // JS: Android, web ('apns' for an iOS device token)
// Flutter (Dart): named arguments
// await chat.registerPush(platform: 'apns', token: token);

// Payload your app receives (all values are strings)
// message: { titli_chat: "1", kind: "message", cid, seq, sender, title, body }
// call:    { titli_chat: "1", kind: "call_invite", invitation_id, sender, cid, title, body }

chat.unregisterPush(fcmToken);                         // on sign-out

SDKs: Web, React UI kit, Flutter and React Native

Every SDK speaks the same documented protocol. Nothing is on a public registry yet. The native iOS, Android and React Native SDKs are in beta: request access under SDK downloads in the console, then download. The web and Flutter packages are sent on request through a Support ticket in the console.

  • Web / JavaScriptThe JavaScript core package: TypeScript types, offline queue, reconnect and token refresh.Available
  • React chat UI kitA full inbox in one component, light and dark, themed with CSS variables, plus hooks.Available
  • Flutter chat SDKThe core and ready-made conversation list and chat screens with voice notes.Available
  • React Native (JS core)The same JS core, with the phone’s storage for the offline queue. You build the screens with your own views; the React kit is for the web.Available
  • iOS (Swift) chat SDKNative SDK with a SwiftUI kit, push registration and call invites. Beta 0.1.0, on request. iOS quickstartBeta (request access)
  • Android (Kotlin) chat SDKNative SDK with a Jetpack Compose kit, push registration and call invites. Beta 0.1.0, on request. Android quickstartBeta (request access)
  • React Native chat UI kitReady-made screens, app-lifecycle handling and the calls bridge on top of the JS core. Beta 0.1.0, on request. React Native quickstartBeta (request access)

Native chat SDKs are in beta, on request. They are not on a public package registry: request access under SDK downloads in the console and download them there (or ask for access on WhatsApp or hello@titliapp.com). Testing so far was on emulators and on macOS; push notifications on real devices are not verified yet.

Integrate the chat API in 3 steps, no backend needed

Your app needs only the App Key: the SDK gets each user’s chat token and refreshes it by itself. A server is optional, for production hardening.

  1. 1

    Get your App Key

    In the console open Chat and choose Turn on chat (you start on the Free plan). Then open Projects → Quick mode and add your app’s package name, bundle ID or website. Your App Key is shown there.

  2. 2

    Install the package

    The web, React Native or Flutter chat package from your console. The native iOS and Android chat SDKs are in beta, on request.

  3. 3

    Init with the App Key and send

    Initialise the SDK with your App Key and your own user ID, connect, open a conversation and send. Or drop in the React or Flutter UI kit.

Step 2: install the package

terminal
# the chat package from your console (Support ticket)
npm install ./vendor/titli/titli-chat-0.1.0.tgz

Step 3: init with your App Key, connect and send

chat.js
import { TitliChat } from '@titli/chat';

// Quick mode: your App Key and your own user id. No backend needed.
const chat = TitliChat.init({ appKey: 'tak_…', userId: 'u_42', userName: 'Asha' });
await chat.connect();                             // no token: the SDK fetches and refreshes it

const conv = await chat.openDirect('u_99');      // or chat.createGroup({ name, members })
chat.sendText(conv.id, 'Hello!');                 // optimistic; queued offline, retried, deduped
chat.on('message.new', (m) => console.log(m.sender, m.text));
await chat.loadMessages(conv.id);                 // newest 30; { before_seq } for older pages
chat.markRead(conv.id);                           // read receipts + unread reset
chat.sendImage(conv.id, file, { width, height }); // uploads, then sends
chat.typing(conv.id);                             // throttled for you

Optional, production hardening: your server mints the chat token

When you want strict control, keep the project API key on your server, mint a short-lived chat token per user there and hand it to the same SDK instead of the App Key. Both ways can run side by side.

terminal
# Optional (production hardening): your server mints a short-lived chat token for one of your users
curl -u "$KEY_ID:$KEY_SECRET" https://api-videosdk.titliapp.com/v1/chat/tokens \
  -H 'Content-Type: application/json' \
  -d '{"user_id":"u_42","name":"Asha","avatar_url":"https://cdn.example.com/a.jpg","ttl_seconds":3600}'
# -> {"token":"eyJ...","user_id":"u_42","expires_at":"...","ws_url":"wss://.../chat/ws","api_url":"https://..."}

Chat quickstartThe full walkthrough, the REST reference and the wire protocol are in the chat docs.

Chat SDK pricing: per monthly active user

No plan fee and no per-message fee. You pay for the people who actually use chat in a month, and the first 1,000 are always free.

All pricing

Free

₹0$0 / month

Up to 1,000 MAU. No charge, no card or balance needed.

  • 1,000 monthly active users (hard cap)
  • 300,000 messages a month
  • 100 concurrent connections
  • 2 GB of media, files up to 10 MB
  • 30-day message history
  • Groups up to 200 members
  • Every feature: rooms, push, moderation, call invites
Start free
Most apps

Pay as you go

₹750$8.00 / 1,000 MAU

The first 1,000 MAU are free every month. You pay only above that, and the rate drops with volume.

  • First 1,000 MAU always free
  • No MAU cap
  • No monthly message cap
  • 90-day message history
  • Groups up to 1,000 members
  • Files up to 25 MB
  • Billed from the same prepaid balance as your calls
Turn it on in the console

Scale

Talk to us

Volume rates for large apps, longer history and bigger groups.

  • Volume pricing per account
  • 180-day message history
  • Groups up to 2,000 members
  • Files up to 50 MB
  • Limits set per account
Talk on WhatsApp

Billed in rupees (INR). Prices shown are what you pay. If GST applies to you, it is shown on your invoice.USD billing is for companies outside India, switched on after a short business check: contact us to pay (USDT/wire). Prices exclude taxes.

Pay as you go: the MAU bands

MAU in the monthPriceHow it applies
First 1,000₹0$0Free every month
1,001 – 25,000₹750$8.00per 1,000 MAU inside this band
25,001 – 100,000₹560$6.00per 1,000 MAU inside this band
Above 100,000₹420$4.50per 1,000 MAU inside this band

Worked examples: the monthly bill

MAUBillAverage per 1,000 MAU
10,000₹6,750$72.00₹675$7.20
50,000₹32,000$342.00₹640$6.84
100,000₹60,000$642.00₹600$6.42

MAU = a user who connected to chat or uploaded a file at least once in the calendar month (UTC). Bands work like tax brackets: 10,000 MAU = 9 × ₹750$8.00. The charge is taken from your prepaid balance hour by hour as MAU accrue. If the balance runs out, existing users keep chatting; new users beyond the free tier are refused until you recharge.

How it compares: a ZEGO ZIM alternative, and four more

Published list prices for in-app chat from five well-known providers next to ours. We kept this to facts you can check yourself.

ProviderFree tierEntry paid plan (list price)Extra MAU10,000 MAU50,000 MAU100,000 MAU
Titli Chat SDKPay as you go1,000 MAU every monthNo monthly plan feeYou pay only for MAU above 1,000$0.008 → $0.0045 / MAU$72$342$642
ZEGOCLOUD ZIM100 MAUPro: $369 / month, 10,000 MAUA $99 Signaling plan exists without groups or history.$0.015 / MAU$369$969$1,719
Stream Chat1,000 MAUStart: $499 / month, 10,000 MAU$399 when billed annually. Extra concurrent connections are billed separately.$0.09 / MAU$499$4,099$8,599
Sendbird Chat1,000 MAU (trial)Starter 5K: $399 / month, 5,000 MAU$349 when billed annually. The overage rate is not published.not publishednot publishednot publishednot published
CometChat100 MAU (development)Basic: from $239 / month, billed annuallyThe MAU tier is chosen with a slider; per-tier prices are not listed in one table.$0.10 / MAUnot publishednot publishednot published
Agora Chat500 MAUPro: $699 / month, 10,000 MAUA $349 Starter plan covers 5,000 MAU.$0.05 / MAU$699$2,699$5,199

Swipe the table sideways to see every column.

Monthly estimates = the published base plan plus the published extra-MAU rate, monthly billing, USD list prices. They leave out concurrent-connection, storage, add-on charges and taxes, and every provider quotes large volumes separately. Source: each provider's own pricing page, accessed . Prices change, so check the source before you decide. All names are trademarks of their owners; we are not affiliated with them.

Where Titli Chat fits well

  • No monthly plan fee: a small app pays nothing, a growing one pays per 1,000 MAU
  • Billed in rupees from a prepaid balance (UPI or bank transfer), or in USD
  • Call invites included and wired to the Titli Video SDK
  • Rooms, push, moderation and webhooks on every plan, the free one too
  • No backend needed to start: the App Key goes in your app, a server is optional
  • One App Key, one console and one balance for calls and chat

Where the others are ahead

  • Native iOS and Android chat SDKs that are generally available on public registries (ours are in beta, on request, and push on real devices is not verified yet)
  • Threads, auto-translation and AI moderation, which we do not offer
  • Larger groups and rooms on their enterprise plans
  • More regions, compliance certifications and years in production
  • Public package registries and bigger sample libraries

Chat SDK questions

Do I need a backend for the chat SDK?

No. Add your App Key in the app and connect: the SDK fetches each user’s chat token and refreshes it by itself. A server is optional. Add one for production hardening, when you want your own server to mint the chat tokens, or for the server-only tools: bans, erasing a user, room settings, host messages and usage.

What is the Titli Chat SDK?

An in-app chat API and SDK for your own app: 1:1 and group chat, live-stream rooms, media and voice notes, read receipts, typing, presence, push notifications and call invites. Your users chat inside your app, under your brand.

How much does the chat SDK cost?

The first 1,000 monthly active users (MAU) are free every month. On Pay as you go you then pay ₹750$8.00 per 1,000 MAU up to 25,000, ₹560$6.00 from 25,001 to 100,000 and ₹420$4.50 above that. There is no plan fee and no per-message fee. For example, 10,000 MAU cost ₹6,750$72.00 a month.

What counts as a monthly active user?

A user who connected to chat or uploaded a file at least once in the calendar month (UTC). Someone who opens chat a hundred times is still one MAU. Users who never open chat in a month are not counted.

What happens on the Free plan at 1,000 MAU?

The Free plan has a hard cap. The first 1,000 users of the month keep chatting; a new user beyond that is refused until the next month or until you switch to Pay as you go in the console. Nothing is ever charged on the Free plan.

Which platforms are supported?

Web and JavaScript, a React chat UI kit, Flutter (core and ready-made screens) and React Native through the JavaScript core are available today. Native iOS (Swift) and Android (Kotlin) chat SDKs and a React Native UI kit are in beta, on request: they are not on a public package registry, were tested on emulators and macOS, and push on real devices is not verified yet.

Do I need the Titli Video SDK to use chat?

No. Chat works on its own. If you also use the Video SDK, the same App Key and prepaid balance cover both, and call invites in chat hand over to a video or voice call, with no backend in between.

How is chat moderated?

Each project has a profanity filter (off, mask or block) and its own blocked-word list. Users can report messages, you review reports in the console, and your server can recall messages and ban users. There is no AI moderation today.

How do push notifications work?

You upload your own Firebase service account (Android and web) and your Apple APNs key (iOS) in the console; they are stored encrypted. We send a push only when the user has no live connection, and never for muted conversations or blocked senders.

Where is chat data stored, and for how long?

Messages are stored in our database and media in object storage, with signed URLs. History is kept for 30 days on Free, 90 days on Pay as you go and 180 days on Scale. You can erase a user and their data with one API call.

Is this a ZEGO ZIM alternative?

It covers the same core job: in-app chat, rooms and call invitations. The main differences are pricing by MAU bands with no monthly plan fee, and platform coverage: our native iOS and Android chat SDKs are still in beta and given on request. The comparison table on this page lists published prices with sources.

Add chat to your app today

Create a free account, turn on chat, add your App Key and send your first message. No backend needed, and the first 1,000 monthly active users are free.

Start free