Integrate TalkJS with WhatsApp, WeChat, Telegram, or other messaging apps

Depending on your organization’s needs, you may want to mirror conversations in your TalkJS chat with one or more third-party messaging services. For example with apps such as WhatsApp, WeChat, Facebook Messenger, Telegram, Signal, Slack, or Discord.

TalkJS doesn’t have any integration with third-party messaging services out of the box. However, we do offer all the tools for you to build such a custom integration yourself.

Mirroring a conversation between TalkJS and a third-party messaging service has two parts: forward messages from a TalkJS conversation to your selected third-party service, and in turn send any interactions on that third-party service back into the TalkJS conversation.

Forward messages from TalkJS to a third-party messaging service

To get messages from a TalkJS conversation to a third-party messenger service, you can use TalkJS webhooks to notify you whenever a user writes a message in a conversation. You can then forward that message to the third-party service, using that service’s API.

Send messages from a third-party messaging service back to TalkJS

To get messages from a third-party messenger service back into a TalkJS conversation, you can use the service’s tools to notify you when a user sends a new message. Once there is a new message, you can use the Send a message endpoint of the TalkJS REST API to inject that message back into the right TalkJS conversation.


Do you have any questions on integrating TalkJS with a third-party messaging app? We’re happy to help. Get in touch.