Healthcare solutions

Secure chat messaging for the healthcare industry

Build a chat feature with the TalkJS chat API to help doctors and patients get in contact anytime, anywhere, and in a secure way.
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} 
    />
  );
}
AT
Alex Turner (Patient)
Hi, I’ve started the new medication and I’m not sure how quickly I should expect it to help with my symptoms.
Y
Most people notice a change after a few days, but it can take up to two weeks. How have you been feeling so far?
AT
Alex Turner (Patient)
A bit of improvement, but I’m still getting some dizziness in the afternoon.
Y
Mild dizziness can happen at the start. Make sure you’re drinking enough water and stand up slowly from sitting. If it gets worse or you feel unsteady, send me a message straight away.
thumbs-up
AT
Alex Turner (Patient)
Got it, that makes sense. I’ll keep an eye on it and let you know if anything changes.
Add a message...
Dr. Rivera
Dr. Rivera
Morning. Has anyone heard back from Mr. Lang about his post-op swelling?
09:02
You
I messaged him earlier. Waiting on an update now.
09:03
Nurse Allen
Nurse Allen
He replied just now. The swelling has improved since yesterday. No redness or warmth reported.
09:04
Dr. Rivera
Dr. Rivera
Good. Also, lab results for Ms. Hayes are in; potassium levels are slightly low.
09:07
You
Okay, I’ll adjust her morning supplement and add a note to her chart.
09:09
Write a message...

Connect doctors and patients with private and secure 1-on-1 chat

Provide on-demand access to healthcare for your patients to get the most out of doctor-patient communication and drive better results. Give doctors, staff, and patients a central place where they can easily share relevant documents and images, from anywhere and anytime.
Chat logo
Medication check-in
Dr. Reynolds, Alex W.
Hi, I wanted to ask about the new asthma inhaler you prescribed. Is it normal to feel a slight tremor after using it?
09:12
A mild tremor can happen with this type of inhaler, yes. It usually settles within a few minutes. How long does it last for you?
09:14
Only a couple of minutes so far. Just wanted to check it wasn’t unusual.
OK hand
User
09:16
That’s completely fine. You should keep using it as directed. If you ever notice chest pain, rapid heartbeat, or tremors lasting longer than 15 minutes, message me right away.
09:18

Replace hundreds of daily calls with in-app chat

Most of the doctor-patient conversations are made in person or on a call. By providing a centralized messaging system for everyone involved, both doctors and staff can save time managing cases online. A large number of patients will use in-app chat instead of calling, and that way, unloading the staff from the endless incoming calls.
Messaging also makes the communication more streamlined as it serves as a centralized point of conversation with the entire chat history preserved.
Case study
Caspar logo

Caspar Health improved patient-centred rehabilitation with TalkJS

We wanted a solution that empowers clinics while keeping patients at the center of care. TalkJS gave us the flexibility to build that experience without compromising on quality or speed.
Read the full case study

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.

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.
RapidSOS logo
The main reason we chose TalkJS was their reputation, APIs and ability to host the solution. It gave us confidence that we were building on something reliable, flexible, and well-supported to grow with our product.
Peter Lu
Head of Product, RapidSOS