Code samples
Browse example projects and integrations
63 code samples
Sorted A–ZAndroid file upload
How to implement file upload support in Android's WebView.
Anonymize user data
Anonymize user data using the REST API.
Archive conversations
Add the option to archive a conversation to your chat using webhooks and the REST API.
Automatic away messages
Set an automatic away message using the REST API.
Channel list
Add a channel list like on Slack or Discord to your chat.
ChatGPT integration
Add a ChatGPT-powered chatbot to your chat with the OpenAI API.
Claude integration
Add Claude to your chat TalkJS chat with the Anthropic API.
Conversation tabs
Add the option to open conversations in separate tabs to your chat.
Create a new conversation
Add a button to a create a new conversation to your chat.
Delete a conversation
Add the option to delete a conversation to your chat, using the REST API.
Direct messages
Build a direct message chat with a contact list using TalkJS.
Django gaming chat
Add chat into a Django gaming app with TalkJS.
Email signup form
Add an email signup form to your Vue chat app.
Export your chat data
Export all your chat data using Node.js and the REST API.
Forward messages
Add the option to forward messages to your chat.
Gemini integration
Add AI to your chat using Google's Gemini.
GIF picker
Add a GIF picker to your chat with Giphy.
Hide messages
Add the option to hide messages for certain users to your chat.
Inbox tabs
Add tabs for chats, contacts, and groups to your inbox.
Like Airbnb
Build a messaging inbox like on Airbnb using TalkJS.
Like LinkedIn
Build a messaging center like on LinkedIn using TalkJS.
Like UpWork
Build a chat like on Upwork using TalkJS.
Like WhatsApp
Build a chat app like WhatsApp using TalkJS.
Like X
Build direct messages like on X (formerly Twitter) with TalkJS.
Like YouTube
Build a live comments section like on YouTube Live with TalkJS.
Mark conversation as answered
Add a the option to mark a conversation as answered to your chat.
Message center
Build a message center with TalkJS.
Migrate to TalkJS from Sendbird
A script to import your Sendbird data into TalkJS.
Mute conversations
Add the option to mute a conversation to your chat.
Polls
Add polls to your chat.
Pop-up inbox
Build a conversation list inbox inside a pop-up element.
Product carousel
Add a product carousel to your chat.
Profile links
Add user profile links to your chat.
Read-only conversations
Add the option to set a conversation to read-only to your chat.
Shard a conversation
Shard a conversation for large group chats or livestreams.
Styling with custom data
Use custom data to style your chat.
Support chat
Build a support chat with TalkJS.
TalkJS and Android
How to embed TalkJS into a WebView using Android.
TalkJS and Angular
Add chat to your Angular app with TalkJS.
TalkJS and Blazor
Add chat to your Blazor app with TalkJS.
TalkJS and Django
Add chat to your Django app with TalkJS.
TalkJS and Flask
Add chat into your Flask app with TalkJS.
TalkJS and Flutter
Add chat to your Flutter app with TalkJS.
TalkJS and Laravel
Add chat to your Laravel app with TalkJS.
TalkJS and Next.js
Add chat to your Next.js app with TalkJS.
TalkJS and Node.js
Add chat to your Node.js app with TalkJS.
TalkJS and Rails
Add chat to your Rails app with TalkJS.
TalkJS and React
Add chat to your React app with TalkJS.
TalkJS and React Native (with React Native Navigation)
Add chat to your React Native app with TalkJS, using the React Native Navigation library.
TalkJS and React Native (with React Navigation)
Add chat to your React Native app with TalkJS, using the React Navigation library.
TalkJS and Spring Boot
Add chat to your Spring Boot app with TalkJS.
TalkJS and Svelte
Integrate chat into your Svelte app using SvelteKit.
TalkJS and Vue
Example code for the Vue getting started guide.
Team chat
Build a team chat like Slack or Team, using TalkJS.
Team chat with reply threads
Build a team chat with reply threads.
Threads
Add the option to reply in threads to your chat using the REST API.
Update conversation details
Edit the title and image of a conversation using the REST API.
Visitor chat
Allow visitors to join your chat without registering for an account.
Webhooks with ngrok
Receive webhook events locally with ngrok.
Webhooks with Node.js
Use webhooks with your TalkJS chat using Node.js.
Webhooks with PHP
Use webhooks with your TalkJS chat using PHP.
Zoom integration
Start Zoom calls directly from your chat.