Get ticket
One ticket with its details, tags and every comment, public and technician-only.
GET https://cotlet.dev/api/v1/jitbit/tickets/{ticket_id}
read
Returns one ticket with subject, body, status, priority, category, submitter, company, assigned technician, due date, time spent, tags and all comments in order, oldest first. Each comment says who wrote it and whether it is for technicians only. System entries such as status changes are marked as system. Use it before replying or closing so your agent sees the whole thread.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from list_tickets or search_tickets. |
Request
curl https://cotlet.dev/api/v1/jitbit/tickets/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("jitbit", "get_ticket", {"ticket_id":1}) const result = await cotlet.call('jitbit', 'get_ticket', {"ticket_id":1}); cotlet call jitbit get_ticket --data '{"ticket_id":1}' Example response
{
"ticket_id": 4871,
"subject": "Invoice copy",
"body": "Hi, could you resend the invoice for September?",
"status": "In process",
"priority": "Normal",
"category": "Billing",
"submitter": {
"name": "Dana Whitfield",
"email": "dana@example.com",
"company": "Whitfield Print"
},
"assigned_to": "Priya Nair",
"due_date": null,
"tags": [
"invoice"
],
"created_at": "2026-10-01T09:12:00Z",
"last_updated": "2026-10-01T10:30:00Z",
"comments": [
{
"comment_id": 90112,
"author": "Priya Nair",
"for_techs_only": false,
"system": false,
"body": "Hi Dana, the invoice is attached.",
"created_at": "2026-10-01T10:30:00Z"
}
]
}