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

Parameters: move_conversation
NameTypeDescription
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
curl -X POST https://cotlet.dev/api/v1/freescout/mailbox/1/conversations/1/move \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("freescout", "move_conversation", {"conversation_id":1,"mailbox_id":1})
Node.js
const result = await cotlet.call('freescout', 'move_conversation', {"conversation_id":1,"mailbox_id":1});
CLI
cotlet call freescout move_conversation --data '{"conversation_id":1,"mailbox_id":1}'

Example response

JSON

{
  "conversation_id": 4862,
  "mailbox_id": 2,
  "moved_from": 1
}

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.