List conversations

Conversations in an inbox folder, with channel, labels, assignee and the last message.

GET https://cotlet.dev/api/v1/trengo/conversations

read

Returns the conversations of one folder of the inbox, newest first. Each row has the subject, the contact, the channel, the labels, the assignee and a preview of the last message with who wrote it and when. last_message_from filters each page you read; pass next_cursor back as cursor until it is null. Use get_conversation for the full thread.

Parameters

Parameters: list_conversations
NameTypeDescription
folder enum enum new, assigned_to_me, following or reminders. Default: new.
label string string Only conversations with this label, by name from list_labels.
last_message_from enum enum customer or team. Default: both.
cursor string string Next page cursor from the previous call.

Request

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

Example response

JSON

{
  "conversations": [
    {
      "conversation_id": 5120344,
      "subject": "Invoice shows the wrong VAT number",
      "contact": "Lena Vos",
      "channel": "Email",
      "labels": [],
      "assigned_to": null,
      "last_message": {
        "from": "customer",
        "preview": "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"
      }
    }
  ],
  "next_cursor": null
}

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.