If your requirements is to combine multiple word document into a single word document programmatically, then you can try GroupDocs.Merger Cloud. It is a REST API solution to merge and split documents.
cURL example:
// First get Access Token
// Get App Key and App SID from https://dashboard.groupdocs.cloud/
curl -X POST “https://api.groupdocs.cloud/connect/token”
-d “grant_type=client_credentials&client_id=[App_SID]&client_secret=[App_Key]”
-H “Content-Type: application/x-www-form-urlencoded”
-H “Accept: application/json”
// Upload soruce document to GrupDocs default Storage
curl -X PUT “https://api.groupdocs.cloud/v1.0/merger/storage/file/Temp/Test1.docx”
-H “accept: application/json”
-H “authorization: Bearer [Access_Token]”
-H “Content-Type: multipart/form-data”
-F “File=@C:/Temp/Testv1.docx”
// Merge Documents from GroupDocs default Storage
curl -X POST “https://api.groupdocs.cloud/v1.0/merger/join”
-H “accept: application/json”
-H “authorization: Bearer [Access_Token]”
-H “Content-Type: application/json” -d “{ “JoinItems”: [ { “FileInfo”: { “FilePath”: “Temp/Testv1.docx”, } },{ “FileInfo”: { “FilePath”: “Temp/Test2.docx”, } },{ “FileInfo”: { “FilePath”: “Temp/Test3.docx”, } } ], “OutputPath”: “Temp/GroupDocs_Merger.docx”}”