livechat.ae for developers

Connect your live chat to everything else you run

Read chats and tickets from your CRM, ERP or data warehouse with the REST API, let your server react the moment a chat starts, ends or becomes a ticket with signed webhooks, and let AI assistants work with your conversations through the MCP server.

Create an API key Read the API reference
{ }REST APIChats with their messages, tickets you can create and update, your team and departments. JSON over HTTPS. ↯WebhooksChat started, visitor message, chat closed, ticket created or updated: delivered to your URL, signed with HMAC-SHA256. ✦MCP serverAsk Claude, Cursor or any MCP client about your chats, tickets and reports, and let it work on tickets, with the same API key. iOS SDKYour chat inside your iPhone and iPad app, in Swift: one line to open it, events, unread badge and push notifications.

Quick start

  1. Sign in to livechat.ae as an administrator and open Administration → API & webhooks.
  2. Create a key and copy it: it starts with lck_ and is shown only once.
  3. Call the API from your server:
curl https://livechat.ae/api/v1/me \
  -H "Authorization: Bearer lck_your_key"
{
  "account": { "id": "7ff865a3-…", "name": "Acme Store", "plan": "growth" },
  "key": { "name": "CRM", "prefix": "lck_Xb3kQ", "readOnly": false },
  "usage": { "month": "2026-11", "calls": 1, "limit": 20000, "planLimit": 20000, "extra": 0 }
}

All requests go to https://livechat.ae/api/v1 over HTTPS, and every response is JSON (UTF-8).

Authentication

Send your key in the Authorization header as a bearer token. A key belongs to your account and can read all of its data, so treat it like a password:

  • Use it only from your servers, never in a web page or mobile app (the API does not allow browser requests from other sites).
  • Create one key per integration (CRM, reports, ERP…), so you can revoke one without touching the others. You can have up to 10 active keys.
  • Choose Read only for integrations that only need to read: such a key gets 403 read_only_key on any change.
  • Revoked keys stop working immediately with 401 invalid_api_key.

Limits and quotas

Every call counts towards your monthly quota, which resets on the first day of each month (UTC).

PlanAPI calls per monthWebhooks
Essential10,0003
Growth20,00010
Enterpriseunlimitedunlimited

Need more? Extra packs of 100,000 calls per month can be added to any plan: write to us in the chat on livechat.ae. Each key can also make at most 120 calls per minute.

Every response tells you where you stand:

HeaderMeaning
X-RateLimit-LimitCalls included this month (absent when unlimited)
X-RateLimit-RemainingCalls left this month (absent when unlimited)
X-RateLimit-UsedCalls made this month, including this one

Over the monthly quota you get 429 api_quota_exceeded; over the per-minute limit, 429 rate_limited (wait a minute and retry).

Errors

Errors use standard HTTP status codes and a JSON body with a stable, machine-readable code:

HTTP/1.1 400 Bad Request
{"error": "invalid_status"}
StatusCodesWhat to do
400invalid_status, invalid_page, invalid_per_page, invalid_since, invalid_until, invalid_email, ticket_message_required, missing_fields, invalid_action, too_many_tagsFix the request.
401invalid_api_keyMissing, wrong or revoked key.
403read_only_key, account_inactiveUse a read-write key; the account is suspended.
404not_foundThe object doesn't exist or isn't in your account.
429rate_limited, api_quota_exceededSlow down, or add calls to your plan.
5xx–Something went wrong on our side: retry later.

Pagination and dates

Lists are paginated with page (from 1) and per_page (1–100, default 25), and newest items come first:

{
  "data": [ … ],
  "page": 1,
  "perPage": 25,
  "total": 134,
  "totalPages": 6
}

Dates are ISO 8601 in UTC, e.g. 2026-11-19T14:07:10Z. Filters accept a full timestamp or a day (2026-11-19, meaning midnight UTC).

Versioning

The version is in the path (/api/v1). Within v1 we only add things – new endpoints, new fields, new event types – so ignore fields you don't know. Anything that would break an integration goes into a new version, announced in advance.

FAQ

Can I send messages into a live chat with the API?

Not yet: v1 reads chats and works with tickets. Agents answer chats from the livechat.ae panel and apps.

Can an AI assistant use my livechat.ae data?

Yes: connect it to the MCP server with an API key. It reads chats, tickets and reports and, with a read-write key, creates and updates tickets.

Are internal notes included?

Yes: in chat messages they have "type": "note". They are never shown to visitors.

How far back can I read chats?

As far as your plan's chat history: 60 days on Essential, unlimited on Growth and Enterprise.

Where are my webhooks and keys?

In Administration → API & webhooks, where you also see this month's usage and the last deliveries of each webhook.