Tickets · 1 min read
Get a Ticket
Get one LemuTickets ticket by key or id, with the transitions it can make next
Returns one ticket, by its key or id, together with the statuses it can move to next.
GET
/v1/tickets/{ref}Needs the tickets.read scope.
Path parameters#
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | Yes | The ticket key (SUP-1042, not case sensitive) or id. |
Example request:
curl https://api.tickets.lemuai.com/v1/tickets/SUP-1042 \
-H "Authorization: Bearer ltk_live_your_api_key"Response#
200 with the ticket object and a transitions list. The ETag header holds the ticket's version, for use with If-Match.
{
"id": "2f9c7e1a-5b3d-4c8e-9a6f-1d0e2b4c6a8f",
"key": "SUP-1042",
"number": 1042,
"project": { "id": "3b0f6c1e-8a2d-4f5b-9c71-0e4d2a6b8f13", "key": "SUP", "name": "Customer Support" },
"type": { "id": "9d2e4f60-1b3a-4c8d-a7e5-6f0b2c9d1e47", "name": "Complaint", "icon": "message-square-warning", "color": "red" },
"title": "Refund not received for order 58213",
"description": "Customer paid on 12 November and the order was cancelled the same day.",
"status": { "id": "5c8a1d3e-7f2b-4e6a-9b0c-d4e1f2a3b5c6", "name": "Open", "category": "open", "color": "blue" },
"status_category": "open",
"priority": "p2",
"severity": null,
"source": "api",
"source_ref": null,
"requester": {
"id": "8b4d6f2a-0c1e-4a3b-9d5f-7e6a8c0b2d4f",
"name": "Priya Sharma",
"email": "priya@example.com",
"phone": "+919876543210",
"is_vip": false,
"account_id": "4a6c8e0b-2d1f-4b3a-8c5e-9f7d1b3a5c6e"
},
"account_id": "4a6c8e0b-2d1f-4b3a-8c5e-9f7d1b3a5c6e",
"assignee": {
"id": "0e2a4c6b-8d1f-4a3e-9b5c-7d9f1a3c5e7b",
"name": "Arjun Mehta",
"email": "arjun@yourcompany.com",
"avatar_url": null
},
"team": { "id": "1c3e5a7b-9d2f-4e6a-b8c0-a2e4f6b8d0c1", "name": "L1 Support" },
"reporter": {
"id": "d1f3b5a7-c9e2-4b4d-8f6a-0c2e4a6b8d0f",
"name": "API: ERP sync",
"email": "ltk_live_ab12cd34@bots.lemutickets",
"avatar_url": null
},
"parent_id": null,
"labels": ["refund"],
"due_at": null,
"restricted": false,
"sla": {
"policy_id": "7e9a1c3b-5d2f-4a6e-8b0c-1d3f5a7c9e2b",
"targets": {
"first_response": {
"minutes": 240.0,
"business_hours": true,
"status": "running",
"started_at": "2026-11-25T09:12:40.512000+00:00",
"due_at": "2026-11-25T13:12:40.512000+00:00",
"met_at": null,
"breached_at": null
}
},
"paused": false,
"next_due_at": "2026-11-25T13:12:40.512000+00:00",
"breached": false
},
"sla_next_due_at": "2026-11-25T13:12:40.512000+00:00",
"sla_breached": false,
"escalation_level": 0,
"first_response_at": null,
"resolved_at": null,
"closed_at": null,
"reopened_count": 0,
"csat_score": null,
"time_spent_minutes": 0,
"estimate_minutes": null,
"custom_fields": { "order_id": "58213" },
"ai": {},
"lemu": {},
"channel_thread": {},
"external_id": "ERP-CMP-58213",
"merged_into_id": null,
"version": 4,
"created_at": "2026-11-25T09:12:40.512000+00:00",
"updated_at": "2026-11-25T09:20:15.301000+00:00",
"transitions": [
{
"id": "e8a0c2d4-f6b1-4d3e-9a5c-7b9d1f3e5a7c",
"name": "Start work",
"to_status_id": "6e1f2a3b-8c4d-4f5e-a6b7-c8d9e0f1a2b3",
"to_status": "In progress",
"category": "open",
"validators": {},
"approval": {}
},
{
"id": "b1d3f5a7-9c2e-4b4d-8f6a-1c3e5a7b9d0f",
"name": "Resolve",
"to_status_id": "7a2b3c4d-9e5f-4a6b-b7c8-d9e0f1a2b3c4",
"to_status": "Resolved",
"category": "done",
"validators": { "require_comment": true },
"approval": {}
}
]
}transitions has the same items as List available transitions (shortened above).
Errors#
| Status | code | When |
|---|---|---|
404 | ticket_not_found | No ticket with this key or id, or you cannot see it |
Was this page helpful?
Docs