Javascript SDK

Seamlessly integrate two-way chat with talk.js, our real-time messaging infrastructure and our great UI.

Fully featured

Everything you want in a messaging app. Reliable and scalable. Real-time, cross-platform synchronization.

Ship faster

Turn any <div> into a full-fledged messaging app. Up and running in 10 minutes.

Trusted by amazing companies around the world

talkjs customer logos
What our customers say

"The load on our customer service reduced drastically and our conversion rate increased by allowing our users to communicate with each other."

Sarah Bleiker, product manager at The Next Closet. Read our case study.

Works with your framework or programming language

Most of your TalkJS code will live in the frontend, which means that it will work seamlessly with any language or framework. This includes React, jQuery, Angular, VueJS, PHP, Laravel, Ruby on Rails, Python, Django, ASP.NET MVC, .NET, Java, NodeJS, and so on.

Browse examples on Github

talkjs chat frameworks react ruby nodejs java angular vuejs php python

Powering a wide variety of customers

Our flexible chat API and SDK works for marketplaces, collaboration tools, on demand apps, real estate platforms, multi-vendor shops, hiring platforms, and many more.

talkjs chat customers

A simple but powerful JavaScript SDK

Turn any <div> into a real-time inbox. Synchronize user data on the fly.

  • Absolutely peanuts

    No matter what framework you use, talk.js lets you add end-user chat with just a few lines of code. No backend code needed!

    Read the integration guide

  • Stay in control

    Our modular API makes it easy to customize behavior, to send system messages, or to get notified on user actions.

    Explore the REST API

talk.js code snippet

// Synchronize user data and set up
var currentUser = new Talk.User({
    id: 79302,                      // user id
    name: "George Looney",          // full name
    email: "[email protected]"      // for offline email fallback
var session = new Talk.Session({
    appId: "9352938974",            // your TalkJS account id
    me: currentUser                 // make George the active user

// All set! Let's turn a div into George Looney's messaging center
var inbox = session.createInbox();
What our customers say

"We're so pleased to finally have a chat solution on our marketplace and it was incredibly easy to setup and looks and functions fantastic."

Shayne Kasai, engineer at Retreat Guru

Ready to get started?

Whether you're building a marketplace, on-demand business, e‑commerce, crowdfunding, travel and events platform, TalkJS is the chat tool for you.