See live user threads on desktop and mobile, track bot response latency, redact leaked secrets automatically, and share reproducible conversation replays with one link.
Use the sender's phone number or Telegram chat ID as the conversation key. Every inbound and outbound turn appears live in a clean messaging UI.
When users paste API keys, passwords, or auth tokens into WhatsApp support chats, ViewChat redacts them before storage.
Track daily conversations, unique participants, message counts, and average bot reply latency per group.
Create a public animated replay link (/snapshot/:id) for any tricky conversation so engineers or stakeholders can inspect it without signing in.
Works with WhatsApp Cloud API, Twilio, Baileys, grammy, or python-telegram-bot.
const logTurn = (chatId: string, from: string, text: string) =>
fetch("https://api.view-chat.com", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
endpoint: "log",
token: process.env.VIEW_CHAT_TOKEN,
payload: {
event: { from, text, time: Date.now() },
conversation: chatId,
groups: ["whatsapp-prod"],
},
}),
});
// Inside your webhook handler:
await logTurn(msg.from, msg.from, msg.text.body);
const reply = await runAgent(msg.from, msg.text.body);
await logTurn(msg.from, "whatsapp-bot", reply);