Get ticket
One ticket with its fields, tags and every comment, public and internal.
GET https://cotlet.dev/api/v1/zendesk/tickets/{ticket_id}
read
Returns one ticket with subject, status, priority, requester, assignee, group, tags and all comments in order, oldest first. Each comment says whether it is public or an internal note and who wrote it. The first comment is the description. Use it before replying so your agent sees the whole thread.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from search_tickets or list_view_tickets. |
Request
curl https://cotlet.dev/api/v1/zendesk/tickets/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("zendesk", "get_ticket", {"ticket_id":1}) const result = await cotlet.call('zendesk', 'get_ticket', {"ticket_id":1}); cotlet call zendesk get_ticket --data '{"ticket_id":1}' Example response
{
"ticket_id": 48102,
"subject": "Export fails with an error",
"status": "pending",
"priority": "normal",
"requester": {
"name": "Dana Whitfield",
"email": "dana@example.com"
},
"assignee": "Sam Okafor",
"group": "Support",
"tags": [
"export",
"web"
],
"updated_at": "2026-10-12T09:30:00Z",
"comments": [
{
"comment_id": 9120001204,
"author": "Dana Whitfield",
"public": true,
"body": "Export to CSV fails every time.",
"created_at": "2026-10-12T08:55:00Z"
},
{
"comment_id": 9120001877,
"author": "Sam Okafor",
"public": true,
"body": "Sorry about that. What error text do you see after clicking Export?",
"created_at": "2026-10-12T09:30:00Z"
}
]
}