TL;DR
A REST API is a standardized HTTP interface for reading and writing resources over the web, used to wire a live-chat product to other apps and back-end systems.
Key Points
✓
REST (Representational State Transfer) was formalized by Roy Fielding in his 2000 dissertation as a set of constraints for building scalable distributed systems [3].
✓
Requests are stateless: every call carries everything the server needs, so no client session is stored between requests [2].
✓
It maps HTTP verbs to actions on resources, e.g. GET to read, POST to create, PUT to replace, DELETE to remove [4].
✓
A REST API is the most common way to programmatically pull a [[chat-transcript]] or sync a [[conversation]] into an external help desk or CRM.
✓
REST is request/response and pull-based, which contrasts with a [[webhook]] that pushes events to you and with [[http-polling]] or a [[websocket]] used for live message delivery.
✓
REST APIs are language-agnostic and exchange data in standard formats like JSON, so any client that speaks HTTP can use them [1].
What makes an API RESTful
HTTP methods and resources
REST versus webhooks, polling, and sockets
Designing and consuming a REST API
Sources & References
Last updated: June 25, 2026
Related Terms
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.
WebSocket
WebSocket is a protocol (standardized as RFC 6455) that opens a single, persistent, full-duplex connection between a browser and a server, letting either side push data at any time without re-issuing HTTP requests. It is the transport many real-time apps reach for when they need low-latency, bidirectional messaging.
SDK
A software development kit (SDK) is a packaged collection of tools, libraries, code samples, and documentation that lets developers build software for a specific platform without writing every integration from scratch. In live chat, an SDK is the language- or framework-specific library that embeds and controls a chat widget inside a web or mobile app.
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.
Telegram Integration
Telegram Integration is the mechanism by which Eloqra routes every website chat into the project owner's Telegram, forwarding visitor messages to a Telegram bot and flowing operator replies back to the widget. It turns Telegram into the operator inbox, so there is no separate agent console to keep open.
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 →