Merge conversations

Merge one conversation into another.

POST https://cotlet.dev/api/v1/freescout/merge-intos/{merge_into_id}/conversations/{conversation_id}/merge

write Confirm

Uses the Merge action of FreeScout, which its REST API does not offer. conversation_id is merged into merge_into_id, and the response names the conversation that remains. Do it for two conversations of the same customer; merging customers is a different action. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: merge_conversations
NameTypeDescription
conversation_id integer required integer The conversation to merge, from list_conversations.
merge_into_id integer required integer The conversation that stays.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/freescout/merge-intos/4821/conversations/4833/merge \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("freescout", "merge_conversations", {"conversation_id":4833,"merge_into_id":4821})
Node.js
const result = await cotlet.call('freescout', 'merge_conversations', {"conversation_id":4833,"merge_into_id":4821});
CLI
cotlet call freescout merge_conversations --data '{"conversation_id":4833,"merge_into_id":4821}'

Example response

JSON

{
  "merged_conversation_id": 4833,
  "remaining_conversation_id": 4821,
  "url": "https://support.yourcompany.com/conversation/4821"
}

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.