Accounts · 2 min read
List Accounts
List and search the customer accounts (companies) in LemuTickets
An account is a customer company, such as a distributor, dealer or business customer. Requesters belong to an account, and tickets carry the requester's account. This endpoint returns accounts a page at a time, sorted by name, with how many open tickets each one has.
GET
/v1/accountsNeeds the requesters.read scope.
Query parameters#
| Name | Type | Required | Description |
|---|---|---|---|
q | string | No | Search. Matches part of the name, or the exact external_id. |
limit | integer | No | Accounts per page, up to 200. Default 50. |
cursor | string | No | The next_cursor from the previous page. See pagination. |
Example request:
curl -G https://api.tickets.lemuai.com/v1/accounts \
-H "Authorization: Bearer ltk_live_your_api_key" \
--data-urlencode "q=sharma"Response#
200
{
"data": [
{
"id": "4a6c8e0b-2d1f-4b3a-8c5e-9f7d1b3a5c6e",
"name": "Sharma Traders",
"domains": ["sharmatraders.in"],
"tier": "premium",
"owner_user_id": "0e2a4c6b-8d1f-4a3e-9b5c-7d9f1a3c5e7b",
"phone": "+918041234567",
"address": "14 MG Road",
"city": "Bengaluru",
"region": "Karnataka",
"notes": "",
"health": "good",
"external_id": "DIST-0412",
"custom_fields": { "gstin": "29ABCDE1234F1Z5" },
"created_at": "2026-10-02T11:20:45.000000+00:00",
"open_tickets": 3
}
],
"next_cursor": null
}| Field | Type | Description |
|---|---|---|
id | string | The account's id. |
name | string | Company name. |
domains | array of strings | Email domains. New requesters with an email at one of these domains join the account automatically. |
tier | string | standard, premium or enterprise. Use it in TQL as account.tier. |
owner_user_id | string or null | The team member who owns the relationship. |
phone, address, city, region | string or null | Contact details. |
notes | string | Free-text notes. |
health | string or null | good, at_risk or unhappy, when set. |
external_id | string or null | Your own id for the account, for example the customer code in your ERP. |
custom_fields | object | Extra values. |
created_at | string | When the account was created. |
open_tickets | integer | Tickets on the account that are not done. |
next_cursor | string or null | Pass as cursor for the next page. null on the last page. |
Errors#
| Status | code | When |
|---|---|---|
403 | missing_capability | The key does not have requesters.read |
422 | invalid_fields | limit is over 200 |
Was this page helpful?
Docs