Getting Started · 2 min read
Overview
Create and work LemuTickets tickets from your ERP or other systems with the LemuTickets REST API
LemuTickets is the service desk in the Lemu family: complaints, requests, tasks and incidents become tickets with an owner, a status, a deadline and a full history. The app at tickets.lemuai.com is built on this same API, so anything your team does in the app, your own systems can do too.
This reference covers what an ERP or back-office system usually needs:
| Task | Endpoint |
|---|---|
| Raise a ticket when something goes wrong in your system | Create a ticket |
| Show a customer's tickets, or a queue, in your own screens | List and search tickets with TQL |
| Read one ticket with its status, SLA and fields | Get a ticket |
| Change the priority, assignee, labels or custom fields | Update a ticket |
| Move a ticket through its workflow (start work, resolve, close) | List available transitions and Transition a ticket |
| Reply to the customer or add an internal note | Add a comment |
| Record time spent | Log work |
| Keep customers in sync with your records | Requesters and Accounts |
| Attach files, such as invoices or photos | Upload an attachment |
| Hear about changes as they happen | Webhooks |
| Show tickets inside your ERP without building screens | Embedding in your ERP |
Setting up projects, workflows, SLAs, automations and teams is done in the LemuTickets app.
Base URL#
All requests go to:
https://api.tickets.lemuai.com/v1The version (v1) is part of the path. Changes within v1 only add things: new endpoints, new optional fields and new response fields. Write your code so it ignores response fields it does not know.
Authentication#
Send an API key in the Authorization header. Create keys in LemuTickets under Settings → API keys and webhooks. See Authentication for scopes and OAuth apps.
Your first request#
Find the key of the project you want to create tickets in:
curl https://api.tickets.lemuai.com/v1/projects \
-H "Authorization: Bearer ltk_live_your_api_key"{
"data": [
{
"id": "3b0f6c1e-8a2d-4f5b-9c71-0e4d2a6b8f13",
"key": "SUP",
"name": "Customer Support",
"open_tickets": 128
}
]
}The response above is shortened. Then create a ticket in that project:
curl -X POST https://api.tickets.lemuai.com/v1/tickets \
-H "Authorization: Bearer ltk_live_your_api_key" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: erp-complaint-58213" \
-d '{
"project": "SUP",
"title": "Refund not received for order 58213",
"priority": "p2",
"requester": { "name": "Priya Sharma", "email": "priya@example.com" }
}'The response is the new ticket, with its key (for example SUP-1042). Use the key or the id in every other ticket endpoint.
Request and response format#
- Send request bodies as JSON with
Content-Type: application/json. The one exception is Upload an attachment, which takes a file asmultipart/form-data. - Responses are JSON. Times are ISO 8601 in UTC, for example
2026-11-25T09:12:40.512000+00:00. Ids are UUIDs. - Lists return
{"data": [...]}, and paged lists addnext_cursor. See Conventions. - Errors always have the same shape. See Errors.
- Every response has an
X-Request-Idheader. Include it when you contact support about a request.
Was this page helpful?
Docs