Close conversation
Closes a conversation without sending a message.
POST https://cotlet.dev/api/v1/trengo/conversations/{conversation_id}/close
write Confirm
Uses the checkmark above the ticket. It sends nothing to the customer itself, but Journeys, rules or a CSAT survey you set up may react to a closed conversation. To send a last message and close, use reply_to_conversation with close_after_send. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| conversation_id integer required | integer | Conversation ID from list_conversations or search_conversations. |
Request
curl -X POST https://cotlet.dev/api/v1/trengo/conversations/5120302/close \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("trengo", "close_conversation", {"conversation_id":5120302}) const result = await cotlet.call('trengo', 'close_conversation', {"conversation_id":5120302}); cotlet call trengo close_conversation --data '{"conversation_id":5120302}' Example response
{
"conversation_id": 5120302,
"status": "closed",
"closed_at": "2026-10-20T09:10:00Z"
}