In-app messaging SDK · Built in Rust

Encrypted chat in your app.
Smaller messaging bills.

Stop paying per message to reach your own customers. Move conversations off SMS and paid business-messaging channels into your own web and mobile app — with real-time, end-to-end encrypted chat and file sharing, powered by the same Rust core as Tokitiv.

  • No per-message carrier fees
  • End-to-end encrypted by default
  • Web · Flutter · Android
  • Content safety built in
support-chat.js
// Simplified example
const chat = await Tokitiv.create();

// Encrypted here, on the user's device
const sealed = chat.prepareMessage(agentId, bundle,
  '{"type":"text","body":"Hi! How can we help? 👋"}');

await relay.send(sealed);  // ciphertext only

// Incoming: decrypted and safety-checked on device
const msg = chat.openEnvelope(envelope);

Reduce your messaging bills

Your customers are already in your app. Talk to them there.

Every SMS and every paid business-messaging conversation adds to a bill that grows with your success. In-app messaging with Tokitiv travels over the internet connection your app already uses — no carrier, no per-message toll.

SMS Business messaging platforms Tokitiv in your app
Pay per message / conversation Yes Yes No carrier or per-message fees
Template / sender registration (e.g. DLT in India) Required Template approval Not needed
End-to-end encrypted No Varies by provider Always
Documents, photos & videos No Yes Up to 15 MB, encrypted
Conversation stays in your brand & app No On a third-party app Yes
Built-in content safety & PII warnings No Limited On device

Best for conversations with users who have your app installed. Keep SMS or email for first contact and account recovery. Tokitiv pricing for partners: talk to us.

Why Tokitiv

Everything chat needs. Privacy you can prove.

Most chat SDKs give you messaging. Tokitiv gives you messaging that even you can't read — with the safety tools a responsible product needs.

End-to-end encryption, by default

No settings to forget. Messages and files are encrypted on the sender's device and only decrypted on the recipient's. Your backend — and ours — only ever relays ciphertext.

Rich content, out of the box

Text, links, emoji reactions, documents, photos and videos up to 15 MB — each encrypted with its own key, with type checks so dangerous files never get through.

Safety without surveillance

Abusive language and harmful files are blocked on the device with a clear reason. Users are warned before sharing card, bank or ID numbers. Verifiable abuse reports — without reading everyone's chats.

Real-time by design

Live delivery while your app is open; push notifications on web and Android when it isn't — mirrored to Wear OS and other smartwatches. Pushes never carry message content, so nothing sensitive touches a push service.

Audit trail included

Every account and security action is recorded in a tamper-evident, append-only audit log — without storing message content or personal data.

One core, every platform

The same Rust code runs in the browser via WebAssembly and natively on Android through Flutter. Identical behaviour, identical security, one integration story.

How it works

Integrate in three steps

  1. 1

    Add the SDK

    Drop the WebAssembly SDK into your web app, or the Flutter bindings into your Android app. Keys are generated and stored on the device.

  2. 2

    Connect your users

    Users are verified by email and secured with a password. We'll work with you on how Tokitiv fits your existing sign-in.

  3. 3

    Send & receive

    Encrypt with prepareMessage, relay through the documented REST API, decrypt with openEnvelope. That's the whole loop.

Code

Familiar APIs on every platform

Simplified examples of the same flow on the web, in Flutter and over the REST API.

// Create a device identity (keys never leave the browser)
const chat = await Tokitiv.create();

// Content is moderated, then encrypted, on the device
const sealed = chat.prepareMessage(recipientId, bundle,
  '{"type":"text","body":"Your appointment is confirmed ✅"}');

// Files: encrypted with a fresh key, uploaded as ciphertext
const file = chat.encryptAttachment(bytes, "application/pdf");

Use cases

Built for conversations that matter

🩺 Healthcare

Doctor–patient messaging and report sharing where privacy isn't optional.

🏦 Finance & fintech

Support chats that handle sensitive details — with automatic warnings before account numbers are shared.

⚖️ Legal & advisory

Confidential client communication and document exchange.

🛒 Marketplaces

Buyer–seller chat with built-in protection against abuse and scams.

🎓 Education

Teacher–parent and campus messaging with content safety for adult users.

🏢 Internal teams

Private team messaging inside your own business tools.

Engineered in Rust

Security your customers can trust.
Engineering your team will respect.

Tokitiv's core is written in Rust, so the code protecting your users' conversations is memory-safe by construction — and fast enough for real-time chat.

Zero-knowledge relay

The server stores and forwards sealed envelopes it cannot open, and deletes them once delivered.

Sealed envelopes · padded lengths · delete-on-ack

Proven protocol

The same key-agreement and ratcheting design used by leading secure messengers.

X3DH + Double Ratchet · X25519 · Ed25519 · ChaCha20-Poly1305

Memory-safe core

Whole classes of vulnerabilities are ruled out by the compiler before the code ships.

#![forbid(unsafe_code)] · zeroize on secrets

Validated everywhere

Every input is checked at every boundary and every state change — never trusted twice.

Typed DTOs · deny-unknown-fields · rate limits · audit log

Early access

Cut your messaging bill. Keep every conversation private.

We're onboarding a small number of integration partners. Tell us about your app and your current messaging volume — we'll show you what moving in-app could save.

Request early access