Code samples

Filter

TalkJS and Android

How to embed TalkJS into a WebView using Android.

Android

Android file upload

How to implement file upload support in Android's WebView.

Android

TalkJS and Angular

Add chat to your Angular app with TalkJS.

AngularJavaScript (Classic SDK)

Claude integration

Add Claude to your chat TalkJS chat with the Anthropic API.

AIJavaScript (Classic SDK)REST APIWebhooks

Gemini integration

Add AI to your chat using Google's Gemini.

AIJavaScript (Classic SDK)REST APIWebhooks

ChatGPT integration

Add a ChatGPT-powered chatbot to your chat with the OpenAI API.

AIJavaScript (Classic SDK)REST APIWebhooks

TalkJS and Blazor

Add chat to your Blazor app with TalkJS.

JavaScript (Classic SDK).NET

TalkJS and Django

Add chat to your Django app with TalkJS.

JavaScript (Classic SDK)Python

Django gaming chat

Add chat into a Django gaming app with TalkJS.

JavaScript (Classic SDK)Python

TalkJS and Flask

Add chat into your Flask app with TalkJS.

JavaScript (Classic SDK)Python

TalkJS and Flutter

Add chat to your Flutter app with TalkJS.

Flutter

Create a new conversation

Add a button to a create a new conversation to your chat.

Custom featuresJavaScript (Classic SDK)REST API

Email signup form

Add an email signup form to your Vue chat app.

Custom featuresJavaScript (Classic SDK)Vue

GIF picker

Add a GIF picker to your chat with Giphy.

Custom featuresJavaScript (Classic SDK)REST API

Hidden users

Add a hidden user tor you chat, for example for support agents or admins.

Custom featuresJavaScript (Classic SDK)

Forward messages

Add the option to forward messages to your chat.

Custom featuresJavaScript (Classic SDK)REST API

Inbox tabs

Add tabs for chats, contacts, and groups to your inbox.

Custom featuresJavaScript (Classic SDK)

Archive conversations

Add the option to archive a conversation to your chat using webhooks and the REST API.

Custom featuresJavaScript (Classic SDK)REST APIWebhooks

Like WhatsApp

Build a chat app like WhatsApp using TalkJS.

JavaScript (Classic SDK)Similar to

Like UpWork

Build a chat like on Upwork using TalkJS.

JavaScript (Classic SDK)Similar to

Like LinkedIn

Build a messaging center like on LinkedIn using TalkJS.

JavaScript (Classic SDK)Similar to

Like Airbnb

Build a messaging inbox like on Airbnb using TalkJS.

JavaScript (Classic SDK)Similar to

Support chat

Build a support chat with TalkJS.

Custom featuresJavaScript (Classic SDK)

Channel list

Add a channel list like on Slack or Discord to your chat.

Custom featuresJavaScript (Classic SDK)

Direct messages

Build a direct message chat with a contact list using TalkJS.

Custom featuresJavaScript (Classic SDK)

Message center

Build a message center with TalkJS.

Custom featuresJavaScript (Classic SDK)

Polls

Add polls to your chat.

Custom featuresJavaScript (Classic SDK)

Pop-up inbox

Build a conversation list inbox inside a pop-up element.

Custom featuresJavaScript (Classic SDK)

Like YouTube

Build a live comments section like on YouTube Live with TalkJS.

Similar toJavaScript (Classic SDK)

Like X

Build direct messages like on X (formerly Twitter) with TalkJS.

Similar toJavaScript (Classic SDK)

Delete a conversation

Add the option to delete a conversation to your chat, using the REST API.

Custom featuresJavaScript (Classic SDK)REST API

Hide messages

Add the option to hide messages for certain users to your chat.

Custom featuresJavaScript (Classic SDK)PHP

Webhooks with ngrok

Receive webhook events locally with ngrok.

JavaScript (Classic SDK)Webhooks

Visitor chat

Allow visitors to join your chat without registering for an account.

Custom featuresJavaScript (Classic SDK)PHP

Read-only conversations

Add the option to set a conversation to read-only to your chat.

Custom featuresJavaScript (Classic SDK)

Threads

Add the option to reply in threads to your chat using the REST API.

Custom featuresJavaScript (Classic SDK)REST API

Conversation tabs

Add the option to open conversations in separate tabs to your chat.

Custom featuresJavaScript (Classic SDK)

Mark conversation as answered

Add a the option to mark a conversation as answered to your chat.

Custom featuresJavaScript (Classic SDK)REST APIWebhooks

Mute conversations

Add the option to mute a conversation to your chat.

Custom featuresJavaScript (Classic SDK)

Automatic away messages

Set an automatic away message using the REST API.

Custom featuresJavaScript (Classic SDK)REST API

Shard a conversation

Shard a conversation for large group chats or livestreams.

Custom featuresJavaScript (Classic SDK)

Styling with custom data

Use custom data to style your chat.

Custom featuresJavaScript (Classic SDK)

TalkJS and Spring Boot

Add chat to your Spring Boot app with TalkJS.

JavaJavaScript (Classic SDK)

TalkJS and Node.js

Add chat to your Node.js app with TalkJS.

JavaScript (Classic SDK)

TalkJS and Laravel

Add chat to your Laravel app with TalkJS.

JavaScript (Classic SDK)PHP

TalkJS and React

Add chat to your React app with TalkJS.

React (Classic SDK)

TalkJS and Next.js

Add chat to your Next.js app with TalkJS.

React (Classic SDK)

Team chat

Build a team chat like Slack or Team, using TalkJS.

React (Classic SDK)

Team chat with reply threads

Build a team chat with reply threads.

React (Classic SDK)

TalkJS and React Native (with React Native Navigation)

Add chat to your React Native app with TalkJS, using the React Native Navigation library.

React NativeJavaScript (Classic SDK)

TalkJS and React Native (with React Navigation)

Add chat to your React Native app with TalkJS, using the React Navigation library.

React NativeJavaScript (Classic SDK)

Anonymize user data

Anonymize user data using the REST API.

JavaScript (Classic SDK)REST API

Update conversation details

Edit the title and image of a conversation using the REST API.

JavaScript (Classic SDK)REST API

Export your chat data

Export all your chat data using Node.js and the REST API.

JavaScript (Classic SDK)REST API

Migrate to TalkJS from Sendbird

A script to import your Sendbird data into TalkJS.

JavaScript (Classic SDK)Migrate to TalkJSREST API

Product carousel

Add a product carousel to your chat.

Custom featuresJavaScript (Classic SDK)REST API

Zoom integration

Start Zoom calls directly from your chat.

Custom featuresJavaScript (Classic SDK)REST API

TalkJS and Rails

Add chat to your Rails app with TalkJS.

JavaScript (Classic SDK)Ruby

TalkJS and Svelte

Integrate chat into your Svelte app using SvelteKit.

SvelteJavaScript (Classic SDK)

TalkJS and Vue

Example code for the Vue getting started guide.

JavaScript (Classic SDK)Vue

Webhooks with Node.js

Use webhooks with your TalkJS chat using Node.js.

JavaScript (Classic SDK)Webhooks

Webhooks with PHP

Use webhooks with your TalkJS chat using PHP.

PHPWebhooks