Tickets · 1 min read
List Comments
List the replies and internal notes on a LemuTickets ticket, oldest first
Returns every comment on a ticket, oldest first: public replies (from your team, the requester, AI and automations) and internal notes.
GET
/v1/tickets/{ref}/commentsNeeds the tickets.read scope. Internal notes are only returned with the comments.internal scope.
Path parameters#
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | Yes | The ticket key (SUP-1042) or id. |
Query parameters#
| Name | Type | Required | Description |
|---|---|---|---|
visibility | string | No | public for replies only, internal for notes only. Default: both. |
Example request:
curl -G https://api.tickets.lemuai.com/v1/tickets/SUP-1042/comments \
-H "Authorization: Bearer ltk_live_your_api_key" \
--data-urlencode "visibility=public"Response#
200 with all comments at once (this list is not paged).
{
"data": [
{
"id": "f4a6c8e0-2b1d-4f3a-9c5e-7b9d1f3a5c7e",
"ticket_id": "2f9c7e1a-5b3d-4c8e-9a6f-1d0e2b4c6a8f",
"visibility": "public",
"body": "Hi, I still have not received the refund for order 58213.",
"body_text": "Hi, I still have not received the refund for order 58213.",
"author_type": "requester",
"author": {
"type": "requester",
"id": "8b4d6f2a-0c1e-4a3b-9d5f-7e6a8c0b2d4f",
"name": "Priya Sharma"
},
"channel": "email",
"delivery_status": null,
"delivery_error": null,
"mentions": [],
"meta": {},
"attachments": [
{
"id": "a9c1e3b5-d7f2-4a4c-9e6b-8d0f2a4c6e8b",
"filename": "bank-statement.pdf",
"content_type": "application/pdf",
"size_bytes": 182344
}
],
"created_at": "2026-11-25T09:40:02.771000+00:00",
"edited_at": null
},
{
"id": "1b3d5f7a-9c2e-4a4b-8d6f-0a2c4e6b8d1f",
"ticket_id": "2f9c7e1a-5b3d-4c8e-9a6f-1d0e2b4c6a8f",
"visibility": "public",
"body": "Your refund of Rs 4,250 was processed today. It reaches your account in 3 to 5 working days.",
"body_text": "Your refund of Rs 4,250 was processed today. It reaches your account in 3 to 5 working days.",
"author_type": "user",
"author": {
"type": "user",
"id": "0e2a4c6b-8d1f-4a3e-9b5c-7d9f1a3c5e7b",
"name": "Arjun Mehta",
"avatar_url": null
},
"channel": "email",
"delivery_status": "sent",
"delivery_error": null,
"mentions": [],
"meta": {},
"attachments": [],
"created_at": "2026-11-25T10:02:18.640000+00:00",
"edited_at": null
}
]
}Each item has the fields described in Add a comment. Download links for attachments come from GET /v1/attachments/{attachment_id} (see Upload an attachment).
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