For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.
Skip to content

Notifications

Chat SDK with push notifications, plus email and SMS

Add your FCM and APNs keys in the TalkJS dashboard and we take it from there: we work out who missed a message and send the push to their Android or iOS phone. Our React Native, Expo and Flutter SDKs handle the device side. Users who don’t open the app get an email or a text too, and their email replies post straight to the chat.

Wallpaper

14:55

Finance app

12 min

Payment received

You’ve just received $120.00 from Sarah. View the details in your account.

Fitness platform

24 min

New message from your coach

“Great work today! Let’s review your next session.” Tap to open the chat.

Education platform

32 min

New assignment feedback

Your instructor commented on your design project. Check your messages for details.

Manage

Clear all

When does TalkJS send a notification for a missed message?

We notify people quickly, but not so often that it feels like spam. A user gets a notification when a new message arrives and they:

  • are offline,
  • are online but have a different conversation open, or
  • have the conversation open in a browser tab or window that isn’t in focus.

If several messages come in quickly, we wait until everyone has stopped typing and send one notification with all of them. A buyer who fires off three quick questions sets off one buzz, not three. You set that wait in the dashboard, up to 15 minutes.

You choose the channels per role, so sellers on a marketplace can get texts while buyers only get email. Each participant can also get every message in a conversation, only mentions, or nothing.

Which notification channels does TalkJS support?

You don’t need to piece together multiple tools to get notifications working. TalkJS has four channels built in: email, mobile push, SMS and browser notifications. Email goes out through Postmark, and push through Firebase Cloud Messaging (FCM) and Apple Push Notification service (APNs).

Can users reply to chat messages by email?

Yes. TalkJS email notifications make it possible for users to chat by using email even when not on your platform. Replying to the email lands the message back into the chat, with no setup on your side. It works well when users can’t access the chat.

Email chat messages to offline users

Leave no user behind. Users will get every chat message delivered right into their email inbox, even when they are not active on your platform.

Replies by email go straight to the chat

Users can reply to an email notification and the message will appear in the chat inbox within your platform, making sure that the conversation is saved.

Case study
Xolo logo

Xolo accelerates user collaboration with TalkJS

Discover how Xolo uses TalkJS to enable seamless user collaboration and notifications. When their team needed a user batch update to support email notifications, the TalkJS API was delivered within days, helping them move fast without friction.

Read the full case study

How do push notifications work on Android and iOS?

You add your FCM service account key and your APNs .p8 key in the TalkJS dashboard. Then your app registers the device. In React Native, Expo or Flutter, you register the TalkJS push handlers when the app starts and turn on push notifications for the session. In a native Android or iOS app, or a web app in a WebView, your code gets the device token and saves it on the TalkJS user.

From then on, TalkJS sends the push whenever that user misses a message. Your app decides how it looks and what a tap opens.

SMS notifications for users who are offline

TalkJS keeps conversations flowing even when users are offline. Any user with a phone number on record gets a text when they miss messages. You write that text in the dashboard, with placeholders such as the recipient’s name. We send the texts for you, or you connect your own Twilio or Amazon SNS account.

Re-engage users through browser notifications

Keep users connected and responsive with TalkJS browser notifications. When a new message comes in, users get a pop-up notification over any window, as long as your app is open in a browser tab. Users allow notifications once, and TalkJS shows the browser’s permission prompt for you.

Kaddy logo
We chose TalkJS for its built-in email notifications and plug-and-play chat UI, which made it easy to deliver a complete messaging experience without extra engineering.
Matias Anaya
Software Engineer, Kaddy

FAQs

Yes. The push goes from TalkJS’s servers through FCM or APNs to the phone, whether your app is in the background or closed.

Yes. The notification.triggered webhook fires every time TalkJS would notify someone, even if the user has no email address or phone number on record. Your server can then send the message through any email, SMS or push service you already use.

Email, SMS and mobile push notifications are on every plan, and so are replies by email. SMS messages are charged separately. Custom HTML and CSS email templates and your own sender domain come with the Growth plan and up. See pricing.