{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Merge a secondary (source) conversation into a primary (target) conversation.\nThe secondary conversation is closed and linked to the primary, which\nbecomes the surviving thread. Returns the primary conversation on success.\n\nRequires `write_conversations` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"id":{"type":"string","examples":["123"],"description":"The identifier for the secondary (source) conversation to merge away."}},"required":["id"],"additionalProperties":false},"body":{"$ref":"#/definitions/merge_conversations_request","examples":[{"merge_into_conversation_id":456}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"merge_conversations_request":{"title":"Merge Conversations Request","type":"object","description":"Payload to merge a secondary conversation into a primary conversation.","properties":{"merge_into_conversation_id":{"type":"integer","description":"The ID of the primary (target) conversation to merge into.","examples":[456]}},"required":["merge_into_conversation_id"]}}},"name":"Merge a conversation","id":"intercom.mergeconversation","example":{"path":{"id":"123"}},"maxRequests":1,"summary":false}}