Reply to conversation

Sends a reply to the customer in the conversation's own channel.

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

write Confirm

Sends the message as you, by email, WhatsApp or whichever channel the conversation is on. A reply sent cannot be recalled through Cotlet. On WhatsApp, Trengo asks you to keep to WhatsApp's 24-hour limitation, and a template is the only way to start a conversation; this tool answers existing conversations only. Set close_after_send for Send and close. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_conversation
NameTypeDescription
conversation_id integer required integer Conversation ID from list_conversations or search_conversations.
message string required string Text to send.
close_after_send boolean boolean Send and close in one step. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/trengo/conversations/5120391/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":"Hi Lena, your refund was issued today and shows on your statement within a few days. Reply here if it has not arrived by Friday."}'
Python
result = client.call("trengo", "reply_to_conversation", {"conversation_id":5120391,"message":"Hi Lena, your refund was issued today and shows on your statement within a few days. Reply here if it has not arrived by Friday."})
Node.js
const result = await cotlet.call('trengo', 'reply_to_conversation', {"conversation_id":5120391,"message":"Hi Lena, your refund was issued today and shows on your statement within a few days. Reply here if it has not arrived by Friday."});
CLI
cotlet call trengo reply_to_conversation --data '{"conversation_id":5120391,"message":"Hi Lena, your refund was issued today and shows on your statement within a few days. Reply here if it has not arrived by Friday."}'

Example response

JSON

{
  "conversation_id": 5120391,
  "message_id": 93410022,
  "channel": "Email",
  "sent_at": "2026-10-20T08:14:00Z",
  "closed": false
}

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.