Get ticket
One ticket with its attributes, customer and tags, without the messages.
GET https://cotlet.dev/api/v1/zammad/tickets/{ticket_id}
read
Returns the ticket sidebar of one ticket: title, number, state, priority, group, owner, customer with organization, tags, created and updated times, and pending_until when the state is a pending one. The messages come from list_ticket_articles. A ticket outside your account's groups returns APP_PERMISSION_DENIED.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from search_tickets, list_overview_tickets or the ticket address (#ticket/zoom/{ticket_id}). |
Request
curl https://cotlet.dev/api/v1/zammad/tickets/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("zammad", "get_ticket", {"ticket_id":1}) const result = await cotlet.call('zammad', 'get_ticket', {"ticket_id":1}); cotlet call zammad get_ticket --data '{"ticket_id":1}' Example response
{
"ticket_id": 4790,
"number": "31004790",
"title": "Invoice address change",
"state": "pending reminder",
"priority": "2 normal",
"group": "Billing",
"owner": "Nora Weiss",
"customer": {
"name": "Dana Hill",
"email": "dana.hill@example.com",
"organization": "Northwind Studio"
},
"tags": [
"invoice"
],
"pending_until": "2026-10-21T09:00:00.000Z",
"created_at": "2026-10-14T10:05:00.000Z",
"updated_at": "2026-10-15T13:20:00.000Z"
}