Get ticket

One ticket with all its messages, tags and internal notes.

GET https://cotlet.dev/api/v1/tidio/tickets/{ticket_id}

read

Returns the ticket fields plus every message from the oldest to the newest, public replies and internal notes marked apart, and the ticket tags. Use it before replying so the answer fits 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/tidio/tickets/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("tidio", "get_ticket", {"ticket_id":1})
Node.js
const result = await cotlet.call('tidio', 'get_ticket', {"ticket_id":1});
CLI
cotlet call tidio get_ticket --data '{"ticket_id":1}'

Example response

JSON

{
  "ticket_id": 10482,
  "subject": "When does my order ship?",
  "status": "open",
  "priority": "normal",
  "tags": [],
  "messages": [
    {
      "author_type": "contact",
      "visibility": "public",
      "body": "Hi, I ordered on Monday. When does it ship?",
      "created_at": "2026-10-16T08:12:00Z"
    }
  ]
}

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.