TalkJS

Chat API and SDK for JavaScript

Don't reinvent the wheel. Build any chat use case into your product — in minutes — with just a few lines of code.
Bash
npm install talkjs
Javascript SDK

Connect your users with 1-on-1 chat, group chat, or chatrooms using our real-time messaging infrastructure and pre-built UI.

Fully-featured

Everything you want in a messaging app, from out-of-the-box email, push, and SMS notifications, to moderation and analytics.

Ship faster

Save months of work and turn any <div> into a fully-fledged messaging app. You can be up and running in just 10 minutes.

Ship faster
We make it effortless to build:
1-on-1 chat
Group chat
Livestream chat
Chatbots
Pretty much any chat use case

TalkJS is a developer friendly chat API with a pre-built UI that is highly customisable. You can build a chat feature in minutes instead of months.

Chatbox illustration
Simple yet powerful Javascript SDK

The chat will seamlessly fit into your existing app as the Javascript SDK comes with a pre-built inbox, chatbox, and popup that you can customise and style easily with TalkJS Themes.

TalkJS is packed with out-of-the-box features. From push, SMS, and email notifications to emoji, message search, typing indicators, file sharing, etc. With support for some advanced features like email and SMS fallback, word blacklists, location sharing, and real-time message translations.

1// Synchronize user data and set up
2const currentUser = new Talk.User({
3 id: 79302, // user id
4 name: "George Looney", // full name
5 email: "george@looney.net" // for offline email fallback
6});
7const talkSession = new Talk.Session({
8 appId: "9352938974", // your TalkJS account id
9 me: currentUser // make George the active user
10});
11
12// All set! Let's turn a div into George Looney's messaging center
13const inbox = talksSession.createInbox();
14inbox.mount(this.$refs.talkjs);
Fast and reliable
Never lose a message

There's chat, and there's great chat. TalkJS makes your user communication features reliable, fast, user-friendly, secure, and scalable.

Our REST Chat API and Webhooks let you hook TalkJS up to your backend in any way you see fit. Make a chatbot, record analytics, integrate TalkJS with a custom backend — anything you want.

Themes illustration
Focus on building your app
Let us take care of chat

Our JavaScript Chat SDK includes a fully featured chat UI. You can embed it into your app as easily as a YouTube video.

Fully customisable, TalkJS gets you going in just a few minutes. Then tweak the details until they're perfect.

Themes illustration
All languages, all frameworks
TalkJS works the way you work

Whether you use Angular, React, Vue, or plain old jQuery, TalkJS is a piece of cake to set up. Most of your TalkJS code will live in the frontend, which means that it'll work seamlessly with any backend framework. This includes PHP, Laravel, Ruby on Rails, Python/Django, ASP.NET MVC, NodeJS, and so on.