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

Parameters: get_ticket
NameTypeDescription
ticket_id integer required integer Ticket ID from list_tickets.

Request

cURL
curl https://cotlet.dev/api/v1/accelo/tickets/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("accelo", "get_ticket", {"ticket_id":1})
Node.js
const result = await cotlet.call('accelo', 'get_ticket', {"ticket_id":1});
CLI
cotlet call accelo get_ticket --data '{"ticket_id":1}'

Example response

JSON

{
  "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
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.