Get conversation

One conversation with its contact, labels, assignee and every message, internal notes included.

GET https://cotlet.dev/api/v1/trengo/conversations/{conversation_id}

read

Returns the messages oldest first, each marked from customer, team or note, with the author, the text and the time. Internal notes are included so the agent sees what colleagues wrote. Attachments are not returned. Email bodies come back as plain text.

Parameters

Parameters: get_conversation
NameTypeDescription
conversation_id integer required integer Conversation ID from list_conversations or search_conversations.

Request

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

Example response

JSON

{
  "conversation_id": 5120344,
  "subject": "Invoice shows the wrong VAT number",
  "contact": {
    "name": "Lena Vos",
    "email": "lena@example.com"
  },
  "channel": "Email",
  "labels": [],
  "assigned_to": null,
  "reminder_at": null,
  "messages": [
    {
      "message_id": 93410001,
      "from": "customer",
      "author": "Lena Vos",
      "body": "Hi, the invoice for order 4471 has the old VAT number on it. Can you send a corrected one?",
      "at": "2026-10-20T06:52: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.