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.
In-app messaging SDK · Built in Rust
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.
// 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
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.
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
Most chat SDKs give you messaging. Tokitiv gives you messaging that even you can't read — with the safety tools a responsible product needs.
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.
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.
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.
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.
Every account and security action is recorded in a tamper-evident, append-only audit log — without storing message content or personal data.
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
Drop the WebAssembly SDK into your web app, or the Flutter bindings into your Android app. Keys are generated and stored on the device.
Users are verified by email and secured with a password. We'll work with you on how Tokitiv fits your existing sign-in.
Encrypt with prepareMessage, relay through the documented REST API, decrypt with openEnvelope. That's the whole loop.
Code
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");
// Same Rust core, native on Android
final chat = await Tokitiv.create();
final sealed = chat.prepareMessage(
recipientId, bundle,
'{"type":"text","body":"Order #1042 has shipped 📦"}',
);
await relay.send(sealed);
# The relay only ever sees sealed envelopes
POST /v1/messages
Authorization: Bearer <device token>
{ "recipient": "…", "envelope": "<ciphertext>" }
# Full OpenAPI specification available to partners
Use cases
Doctor–patient messaging and report sharing where privacy isn't optional.
Support chats that handle sensitive details — with automatic warnings before account numbers are shared.
Confidential client communication and document exchange.
Buyer–seller chat with built-in protection against abuse and scams.
Teacher–parent and campus messaging with content safety for adult users.
Private team messaging inside your own business tools.
Engineered in Rust
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.
The server stores and forwards sealed envelopes it cannot open, and deletes them once delivered.
Sealed envelopes · padded lengths · delete-on-ack
The same key-agreement and ratcheting design used by leading secure messengers.
X3DH + Double Ratchet · X25519 · Ed25519 · ChaCha20-Poly1305
Whole classes of vulnerabilities are ruled out by the compiler before the code ships.
#![forbid(unsafe_code)] · zeroize on secrets
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
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