# POST /documentprocessing/document/merge

> Merge a JSON data array into a Base64 DOCX, DOC, RTF or TX template with MergeSettings and returnFormat, and get the created documents as Base64 strings.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Endpoint
- **Path:** DS Server > API Reference > Web API > DocumentProcessing > /document/merge > POST /documentprocessing/document/merge
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#description)
- [Examples](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#examples)
- [Authorization](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#authorization)
- [Request Parameters](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#request-parameters)
- [Request Payload](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#request-payload)
- [Success Response](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#success-response)
- [Error Response](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/#error-response)

---

## Nearby

- **Previous:** [/documentprocessing/document/merge](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/llms.txt)
- **Next:** [/documentprocessing/document/findandreplace](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-findandreplace/llms.txt)
