Get ticket
One ticket with its fields, tasks and every message and note.
GET https://cotlet.dev/api/v1/accelo/tickets/{ticket_id}
read
Returns one ticket with title, description, standing, status, priority, class, client, contact, assignee, dates and the activities on it, oldest first. Each activity says whether it is an email, note, call or meeting, who wrote it and the time logged. Use it before replying so your agent sees the whole thread.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from list_tickets. |
Request
curl https://cotlet.dev/api/v1/accelo/tickets/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accelo", "get_ticket", {"ticket_id":1}) const result = await cotlet.call('accelo', 'get_ticket', {"ticket_id":1}); cotlet call accelo get_ticket --data '{"ticket_id":1}' Example response
{
"ticket_id": 1042,
"title": "Export fails with an error",
"description": "Clicking Export on the monthly report shows an error after a few seconds.",
"standing": "open",
"status": "Active",
"priority": "Normal",
"class": "Bug",
"company": "Brightwave Studio",
"contact": {
"name": "Dana Whitfield",
"email": "dana@example.com"
},
"assignee": "Sam Okafor",
"billable_minutes": 40,
"activities": [
{
"activity_id": 5530,
"medium": "email",
"from": "Dana Whitfield",
"subject": "Export fails",
"body": "It fails every time on the October report.",
"date": "2026-10-15T08:12:00Z",
"minutes": 0
},
{
"activity_id": 5541,
"medium": "note",
"from": "Sam Okafor",
"subject": "Checked logs",
"body": "Fails above 5,000 rows.",
"date": "2026-10-15T09:40:00Z",
"minutes": 40
}
]
}