TL;DR
An SDK is a ready-made toolkit (libraries, APIs, docs, and samples) that makes it fast to add and control a chat product inside your app.
Key Points
✓
An SDK bundles libraries, sample code, documentation, and one or more APIs into a single installable package for a target platform [1][2].
✓
It is broader than an [[rest-api|API]] alone: an SDK usually wraps an API plus helpers, while a [[rest-api]] is the raw request/response contract underneath [2][3].
✓
Live-chat vendors ship SDKs for web JavaScript, React Native, iOS (Swift), and Android (Java) so the same chat can run across platforms [4].
✓
A chat SDK typically exposes methods to open or close the [[chat-launcher]], send a [[chat-message]], set visitor details, and listen for events [4].
✓
SDKs standardize fiddly work like authentication and message parsing, shortening integration time and cutting cost [3].
✓
For the simplest web use, a copy-paste [[embed-code]] snippet can replace a full SDK install when you only need the default [[live-chat-widget]].
What an SDK contains
SDK vs API vs embed code
Chat SDKs across platforms
Sources & References
Last updated: June 25, 2026
Related Terms
REST API
A REST API is a web interface that lets two systems exchange data over HTTP by treating each piece of data as a resource addressed by a URL and acted on with standard methods like GET, POST, PUT, and DELETE. It follows the Representational State Transfer architectural style, which favors stateless, uniform, cacheable interactions between client and server.
Embed Code
An embed code is a short snippet of HTML or JavaScript a website owner pastes into their pages so a third-party tool loads and runs on their site. For Eloqra it is a two-line script snippet that sets a project configuration and loads the chat script, which then injects the live-chat widget.
JavaScript Widget
A JavaScript widget is a self-contained chunk of front-end code, loaded from a single script tag, that injects an interactive UI into any third-party web page. In Eloqra it is the live-chat widget that boots from one snippet and renders the chat launcher and conversation panel directly on a customer's site.
Live Chat Widget
A live chat widget is the embeddable, in-browser chat interface a website loads from a small script so visitors can message a business in real time without leaving the page. In Eloqra it is a floating launcher and chat panel that boots from a single <script> tag and renders inside a Shadow DOM.
Webhook
A webhook is a user-defined HTTP callback: instead of polling for data, an application registers a URL that a source service calls with an HTTP POST request the moment a specific event happens. [1] In Eloqra, a webhook is how an operator's Telegram reply travels back into the chat widget.
HTTP Polling
HTTP polling is a real-time technique where the client repeatedly sends HTTP requests on a fixed interval to ask the server whether new data is available, instead of holding a persistent connection. Eloqra's chat widget uses short polling roughly every 4-5 seconds to fetch new messages and typing state.
More in Widget, Integration & Privacy
Collect testimonials that build trust
Eloqra gives you a lightweight live chat widget that routes every visitor message to your Telegram — free while in early access.
Get Started FreeMore in Widget, Integration & Privacy
View all in Widget, Integration & Privacy →Categories
Learn More
Guides on collecting testimonials, building trust, and turning customer feedback into social proof.
Read the blog →