Get ticket
One ticket with its messages and internal notes in order.
GET https://cotlet.dev/api/v1/gorgias/tickets/{ticket_id}
read
Returns the ticket fields and every message, oldest first, each marked as from the customer, from an agent or an internal note. Reading a ticket does not change it. Attachments are listed by name and link.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from search_tickets. |
Request
curl https://cotlet.dev/api/v1/gorgias/tickets/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("gorgias", "get_ticket", {"ticket_id":1}) const result = await cotlet.call('gorgias', 'get_ticket', {"ticket_id":1}); cotlet call gorgias get_ticket --data '{"ticket_id":1}' Example response
{
"ticket_id": 10482,
"subject": "Where is my order #4471?",
"status": "open",
"priority": "normal",
"assignee": null,
"tags": [
"shipping"
],
"messages": [
{
"from": "customer",
"type": "email",
"body": "Hi, my order #4471 shipped a week ago and has not arrived. Can you check?",
"sent_at": "2026-10-16T21:14:00Z"
}
]
}