Quick start
- Sign in to livechat.ae as an administrator and open Administration → API & webhooks.
- Create a key and copy it: it starts with
lck_and is shown only once. - 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_keyon 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).
| Plan | API calls per month | Webhooks |
|---|---|---|
| Essential | 10,000 | 3 |
| Growth | 20,000 | 10 |
| Enterprise | unlimited | unlimited |
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:
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Calls included this month (absent when unlimited) |
X-RateLimit-Remaining | Calls left this month (absent when unlimited) |
X-RateLimit-Used | Calls 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"}
| Status | Codes | What to do |
|---|---|---|
| 400 | invalid_status, invalid_page, invalid_per_page, invalid_since, invalid_until, invalid_email, ticket_message_required, missing_fields, invalid_action, too_many_tags | Fix the request. |
| 401 | invalid_api_key | Missing, wrong or revoked key. |
| 403 | read_only_key, account_inactive | Use a read-write key; the account is suspended. |
| 404 | not_found | The object doesn't exist or isn't in your account. |
| 429 | rate_limited, api_quota_exceeded | Slow 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.