Move conversation
Move a conversation to another mailbox.
POST https://cotlet.dev/api/v1/freescout/mailbox/{mailbox_id}/conversations/{conversation_id}/move
write Confirm
Moves the conversation with the Move action. In FreeScout the original message can no longer be shown after a move, and a Workflows rule does not run on a moved conversation unless it has the condition for conversations moved from another mailbox. 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 get_conversation. It is not the #number shown in the list. |
| mailbox_id integer required | integer | ID of the target mailbox from list_mailboxes. |
Request
curl -X POST https://cotlet.dev/api/v1/freescout/mailbox/1/conversations/1/move \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("freescout", "move_conversation", {"conversation_id":1,"mailbox_id":1}) const result = await cotlet.call('freescout', 'move_conversation', {"conversation_id":1,"mailbox_id":1}); cotlet call freescout move_conversation --data '{"conversation_id":1,"mailbox_id":1}' Example response
{
"conversation_id": 4862,
"mailbox_id": 2,
"moved_from": 1
}