Execute Mail Merge online

Executes Mail Merge operation.

Execute Mail Merge online REST API

Server Method Endpoint
https://api.aspose.cloud/v4.0 PUT /words/MailMerge

You can use the following parameters in a REST request:

Parameter Name Data Type Required/Optional Description
withRegions boolean Optional The flag indicating whether to execute Mail Merge operation with regions.
cleanup string Optional The cleanup options.
documentFileName string Optional The filename of the output document, that will be used when the resulting document has a dynamic field {filename}. If it is not set, the “template” will be used instead.

Use $multipart/form-data request to combine one or more properties into a single body:

Property Name Data Type Required/Optional Description
Template string(binary) Required File with template
Data string(binary) Required File with mailmerge data
Options FieldOptions Optional Field options

Execute Mail Merge online usage examples

Let’s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.

How to execute Mail Merge online with cURL or Postman

One of the easiest and fastest ways to call a REST API is to use cURL or Postman:

How to execute Mail Merge online in Python, Java, C#, C++, JavaScript and other programming languages

Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:

See Also

  • GitHub repository — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.