Merge conversations
Merges one or more conversations (the sources) into the path conversation (the destination).
Each source is closed and becomes read-only, with a link to the destination (mergedIntoConversationId and its own mergeId). The destination gets one merged part that lists every source and keeps its own state, assignee and attributes; nothing is copied from the sources. The end users of the sources are added to the destination's participants. The merge sends one conversation.merged webhook.
A ticket is merged through its customer conversation ID (the ticket's ticketNumber). A ticket cannot be merged into a plain conversation; merge the conversation into the ticket instead.
Path Parameters
id- The destination conversation ID (short ID)
Request Body
| Field | Type | Description |
|---|---|---|
sourceIds | string[] | IDs of the conversations to merge into the destination: 1 to 10 after duplicates are removed |
actingAdminId | string | Admin ID performing the merge (for attribution). If not provided, uses the bot service user. Must be a member of the organization with a full seat. |
Rules
The whole merge is rejected when one source breaks a rule; nothing is written. The 409 merge_rejected error lists each failing source with the first rule it breaks (error.details.sources), and the destination's own reason (error.details.destination). The rules are the same as in the dashboard: a source must exist and not be merged, in Spam or an internal ticket; a merge chain is at most 20 levels deep; the conversations must have the same brand and, for Slack, the same channel; the end users must be the same person (or, when the workspace allows it, share a company); and the destination's participant limit applies.
Retries
Retrying a merge is safe. When every source is already merged directly into this destination, the response is 200 with the destination, and nothing is written or sent (no parts, no webhook). A request with some sources already merged here and others not is a normal merge, and the already merged sources fail with merge_source_merged.
Response
Returns the destination conversation, with its conversation parts.
Example
{
"sourceIds": ["12346", "12347"],
"actingAdminId": "507f1f77bcf86cd799439011"
}Version Availability
This endpoint is only available in API version 2026-01-01.nova and newer.
Body
The admin ID performing the merge. The merge is attributed to this admin. If not provided, it is attributed to the system bot user. The admin must be a member of the organization with a full seat.
507f1f77bcf86cd799439011Response
Success
State of AI agent handling for this conversation
active, handed_off_to_human, resolvedactiveISO timestamp when bot state last changed
2025-01-15T10:30:00.000ZID of the brand associated with this conversation
507f1f77bcf86cd799439011Array of conversation parts (messages). Only included when fetching a single conversation by ID.
Custom conversation attribute values expanded with definition metadata. Returned only when include=customAttributeDefinitions is provided.
Custom conversation attributes keyed by custom attribute ID. Only org-defined, non-archived conversation attributes are returned; internal workflow metadata is omitted.
Whether an admin has manually overridden the language for this conversation. When true, automatic language detection is disabled.
falseID of the merge link of mergedIntoConversationId, or null when the conversation is not merged (or was merged before merges had IDs). The merge and unmerge parts carry the same ID.
6710a1f2c3d4e5f6a7b8c9d0ID of the conversation this conversation is merged into, or null when it is not merged. Only the direct link: when the destination is itself merged later, follow the chain by fetching it. A merged conversation is closed and read-only until it is unmerged. Search with the mergedIntoConversationId filter to list the conversations merged into a destination.
12345Object type identifier
conversationconversationISO timestamp when priority was set
2025-01-15T10:30:00.000ZRead receipts indicating how far each participant has read in the conversation. Each receipt maps a user to their last-read conversation part. The tracked position reflects the system read state and may reference parts the user cannot directly view (e.g., a contact's read position may point to an internal admin note). Use these receipts to render read indicators and typing awareness, not to infer content access.
ISO timestamp until which conversation is snoozed
2025-01-16T09:00:00.000ZCurrent state of the conversation
open, closed, snoozedopenISO timestamp when conversation was last updated
2025-01-15T12:30:00.000Z