Andy Heriaud Written by Andy Heriaud 4 min read

Chat SDKs: what they are and why you should be using them

Whether you’re an app developer or a product manager, you probably have heard a thing or two about Chat APIs. Better yet: you may be evaluating whether a chat API is the right kind of solution for your app. While we at Weavy are big fans of chat APIs, we also think that they’re only part of the solution. To truly maximize your functionality and minimize your risk when adding in-app chat, you need to start exploring the world of chat SDKs.

Chat SDK

What is a Chat SDK?

A chat SDK is a software development kit that gives developers all the tools they need to create and deploy a fully functional chat server. This server functions as the back-end for adding in-app chat to your app via the implementation of a chat API. Any good chat SDK will have all the proper UI elements and components, as well as the requisite code and files necessary to make implementation as smooth and quick as possible.

architecture diagram

As this SDK will prove to be the backbone of your app’s chat functionality, it’s important to make sure that the SDK supports the features and functions that are important to your app and your end-users. At a bare minimum, any modern chat SDK should be able to provide industry standards such as the following:


  • Typing indicators 
  • Read receipts
  • Rich media support, including photos and video playback
  • Group chats
  • Direct messaging


Other quality of life improvements to look out for are support for file attachments, third party integrations for things like popular file sharing or video calling services, and the ability to add or remove users from a chat at will. Of course there’s no such thing as the perfect product, and you may find that an otherwise great Chat SDK may be missing a feature your team wants. The benefit of a good SDK is that that doesn’t mean creating that functionality is impossible, but we’ll get to that later.


What’s the difference between a Chat API and a Chat SDK?

The differences between an API and an SDK are both myriad and significant, but at the risk of being reductive it boils down to this fundamental difference: a chat SDK allows you to create the chat server that will host and manage your in-app chat solution, a chat API is the code that tells your app how to properly talk to and present the data from the chat SDK. A chat API is typically only a few lines of code that you integrate into your app’s code base, whereas the chat SDK is a full fledged file system that the API reads and writes chat data from. 

Screen Shot 2021-11-17 at 6.36.35 PM

Many of our competitors in the in-app chat space differ from Weavy in that they do not provide a chat SDK, and instead only offer a chat API that reads and writes from a chat server that they host independently of your app. Though I would never go as far to say that this approach is the wrong one to take, it has some large drawbacks that may not make it right for your business.


The benefits of using a Chat SDK

As I mentioned above, when working with a good chat SDK it’s possible to add functionality that may not have been available out of the box. This is only possible because a chat SDK puts your development team in control of the chat server, allowing them to make changes to the underlying code as they deem necessary. 


At Weavy, one of the things our development team most prides themselves on is how customizable the server SDK is if you know how to code. We host regular Hack-a-Thons where we let our developer community push our server SDK, and we continue to be amazed at what people are able to make using our toolset. When it comes to adding functionality to your in-app experience, a chat SDK makes it true that “where there’s a will, there’s a way.” When using an in-app chat solution that doesn’t provide a chat SDK, this kind of customization is essentially impossible. 


Beyond being able to control how your chat server works and what your chat server does, a chat SDK gives you a pathway to truly owning your data. By hosting and maintaining your own chat server, your data is truly yours to do with as you please. This means more freedom for your business, and more peace of mind for your users who don’t have to worry about any companies acting as middlemen for their chat data. It also means that should you choose to move away from your present chat SDK for any reason your data can come with you to your next solution at no charge. Data ownership is incredibly important, so important that some of our competitors even charge a fee to allow you to even export your chat data.


There are also performance benefits that come from using a chat SDK. Since you’re hosting your own chat server, that means that your chat functionality can be hosted in the same instance as your app. This creates a better user experience as having your chat server and app server in the same physical location dramatically reduces the possibility of latency between the two servers. 


It’s important to remember when working with APIs, data, like sound or light, has a speed limit. Though advances in networking technology are raising the speed limit all the time, it is beyond our current understanding of physics for any information to be delivered instantly. Put another way, the further away your app server is from your chat server, the longer it will take for an API call to travel from one to the other, and the longer it will take for the response to be delivered. This is the reason so many API-only service providers charge incredibly high prices for things like dedicated servers or bare metal deployments.


In-app chat has become a fundamental feature, and while many companies have leapt at the chance to provide it through API based solutions, only a few offer a chat SDK. Though setting up a chat SDK takes a little more development time than simply using an API, the benefits greatly outweigh the drawbacks. A good chat SDK allows you to integrate the functionality you want expediently and with very little work if you desire, while still giving your product the option of customizing or growing the feature set as your app grows. Chat APIs may put your app in the collaboration race, but chat SDKs put you in the driver’s seat.


Add Chat to your app with our API & SDK


In this article