Assign conversation
Assigns a conversation to a user or to a team.
POST https://cotlet.dev/api/v1/trengo/conversations/{conversation_id}/assign
write Confirm
Uses the Assign button of the conversation. Pass exactly one of user_id or team_id, both from list_assignees. The assignee sees the conversation in their inbox. A conversation that another person already took is returned with its current assignee and not changed. 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. |
| user_id integer | integer | User ID from list_assignees. Use this or team_id. |
| team_id integer | integer | Team ID from list_assignees. Use this or user_id. |
Request
curl -X POST https://cotlet.dev/api/v1/trengo/conversations/5120344/assign \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id":4012}' result = client.call("trengo", "assign_conversation", {"conversation_id":5120344,"user_id":4012}) const result = await cotlet.call('trengo', 'assign_conversation', {"conversation_id":5120344,"user_id":4012}); cotlet call trengo assign_conversation --data '{"conversation_id":5120344,"user_id":4012}' Example response
{
"conversation_id": 5120344,
"assigned_to": {
"type": "user",
"id": 4012,
"name": "Sam de Boer"
},
"assigned_at": "2026-10-20T07:06:00Z"
}