Live Chat

Integrate Live Chat Widget in minutes — REST API, WordPress plugin, and embed widgets.

https://livechat.api.jetweb.appREST APIEU-hosted

Overview

The Live Chat widget adds a chat bubble to your site. Visitor messages are translated in real time so your agents can answer in their own language. Offline chats turn into support tickets automatically.

Quick start

Embed the script tag with your site token. The widget renders in the bottom-right corner and opens a socket connection on click.

html
<script
  src="https://livechat.api.jetweb.app/widget.js"
  data-site-token="YOUR_SITE_TOKEN"
  async
></script>

Authentication

Every API endpoint requires a Bearer token. Generate one in the dashboard under "API Keys" for the relevant product. Keep tokens server-side — never commit them to public repositories or ship them in frontend bundles.

bash
Authorization: Bearer YOUR_API_KEY

Endpoints

Base URL: https://livechat.api.jetweb.app

GET
/api/conversations
List open and recent conversations for the authenticated agent account.
POST
/api/conversations/:id/messages
Send an agent message into an active conversation. Messages are translated to the visitor locale.
GET
/api/agents
List agents on the team with their online status.
POST
/api/tickets
Create a ticket from an offline chat or an external channel (email, WhatsApp).

Integrations

Embed the widget on any site via a single script tag. For WordPress, install the plugin to auto-configure the site token. Agent dashboard at agents.jetweb.app.