Get Ticket Replies

GET/api/tickets/{id}/replies

Returns the full conversation on a ticket. The ticket record itself carries only the opening message and the lastreply timestamp, so this is the endpoint to call to read what has actually been said. Replies are ordered by date, following the "ticket_replies_order" setting.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Ticket unique ID (URL segment).
curl -X GET "https://yoursite.com/api/tickets/123/replies" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  {
    "id": "12",
    "message": "Thank you, we are looking into this now.",
    "admin": "5",
    "contactid": null,
    "submitter": "John Doe",
    "date": "2026-09-10 11:04:21",
    "attachments": []
  }
]

Error-Response:

HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Ticket not found"
}
MethodGET
Path/api/tickets/{id}/replies
GroupTickets
Sincev3.1.0
Defined inmodules/api/controllers/Tickets.php