1-on-1 chat

Seamlessly add a user-to-user messaging experience

With TalkJS you can easily build a modern messaging experience into your product. Get started with customizable UIs for 1-on-1 chat you can quickly embed anywhere.
import { Chatbox } from '@talkjs/react-components';
import '@talkjs/react-components/default.css';
import { getTalkSession } from '@talkjs/core';
import { useEffect } from 'react';

function Chat() {
  const appId = '<APP_ID>';
  const userId = 'frank';
  const otherUserId = 'nina';
  const conversationId = 'new_conversation';
  const session = getTalkSession({ appId, userId });

  useEffect(() => {
    session.currentUser.createIfNotExists({ name: 'Frank' });
    session.user(otherUserId).createIfNotExists({ name: 'Nina' });

    const conversation = session.conversation(conversationId);
    conversation.createIfNotExists();
    conversation.participant(otherUserId).createIfNotExists();
  }, [session, conversationId, otherUserId]);

  return (
    <Chatbox 
      style={{ width: "400px", height: "600px" }} 
      appId={appId} 
      userId={userId} 
      conversationId={conversationId} 
    />
  );
}
You
My order hasn’t arrived yet. I‘d like an update.
10:01
SupportBot
I can help check the status.
10:01
What would you like to do?
10:01
SupportBot
Got it. Tracking your package now.
10:02
You
Great. Thanks.
10:01
SupportBot
It’s scheduled for delivery tomorrow.
10:02
thumbs-up
Do you want push notifications when it’s out for delivery?
10:03
SupportBot
Done. You’ll get a notification when there is an update.
10:04
Say something...
Buyer
Hey, is the road bike still available?
8m ago
You
Yes, it is. Do you have any questions?
7m ago
Buyer
What's its condition like?
6m ago
You
The bike is in excellent condition. I just had it tuned up last month.
2m ago
Buyer
Can we negotiate the price?
1m ago
You
Sure. I can let it go for a little under the asking price. How about $450?
just now
You've got yourself a deal!

Integrate 1-on-1 chat in minutes

Ship faster with ready-made components for direct messaging. Use React or JavaScript for your ideal web integration or React Native and Flutter SDKs to design seamless messaging on mobile.

Featured use cases

Direct messaging
By building your own in-app chat, you can keep users from switching to apps like WhatsApp and improve overall user engagement.
View setup guide
Marketplace chat
Connect buyers and sellers to drive more transactions by keeping the conversation flowing directly on your own platform.
See how it works
AI chatbot
Simplify your chatbot development and focus on perfecting the bot experience. Easily connect the TalkJS chat to any LLM product.
Explore AI chat

Complete messaging feature set

Build an in-app messaging experience your users actually love. Everything you need to drive engagement and retention, powered by a fast, reliable messaging infrastructure.
Explore Travel
now
Flight update
Check in online for your Singapore flight tomorrow. Upgrade to priority boarding.
Push notifications
Notify users across platforms — even when apps are closed.
Foodies
User 1User 2User 3User 4User 5
Channel5 members
Group chat
Build secure chat rooms, team chats, and community spaces.
Can you please remind of the name of the coffee shop we visited yesterday?
2m ago
Read receipts & typing indicators
Keep users informed in real-time with modern messaging feedback.
https://youtu.be/SFKc9rDrKDM?si=n4WcD_kr52jOFqOPVideo still
4m ago
User avatar
Media attachments
Let users upload images, videos, and files easily. Works across mobile and web.
Hey @adam are you available for a call this afternoon after 2PM? If not, then tomorrow.
Mentions & replies
Add structure and clarity to conversations with Slack-like interactions.
Can I still change my order?
1m ago
AI agent avatarAI agent
Absolutely! What would you like to change about your order?
just now
AI chatbot integration
Integrate virtual assistants or AI bots into conversations with ease.
Replies
Voice messages
Mentions
Emoji reactions
Link previews
Edit messages
Private 1-1 chat
Group chat
Large public group chat
AI chatbot integration
Notifications
Threads
Read receipts
Message search
Conversation search
Persistent message history
File sharing
Media attachments
Typing indicator
Message translation
Announcements
Admin messages
Moderation
Mute user in channel
Ban user
Block user
Flag messages
Profanity filter
Spam protection
Domain filter
Silent messages
Location sharing
Presence indicators
Unread message count
Custom message actions
Custom message types
Analytics
Data export
Third-party integrations
Voice and video call integration
Webhooks
Multi-tenancy support
User roles
Channel list

Customize everything and anything

TalkJS provides prebuilt themes you can use right away or customize to match your brand’s design and user experience.
Themes give you complete control over how your chat looks and feels—from overall layout and message styling to fonts, colors, and interactive elements. You can fine-tune every visual detail, extend functionality, or design a fully bespoke chat interface.
Whether you start from a default themes or build your own, TalkJS provides a flexible foundation to create a consistent and responsive chat experience within your product.
Catawiki logo
We needed chat and didn’t want to build it ourselves because it needs to be really great. The TalkJS team is laser-focused on chat, and we’re focused on building a great auction marketplace.
Dennis Pereira
Head of Product, Catawiki