Skip to main content
Call this API to merge multiple cells within a specified range in a DingTalk Spreadsheet into a single cell. This is useful for scenarios such as creating cross-column header titles or merging rows of the same category. Three merge modes are supported: merge all, merge by row, and merge by column. After merging, only the data in the top-left cell is retained, and the content of other cells is cleared. The API returns the address of the merged cells.

Request

Basic information

Request headers

Path parameters

Query parameters

Request body

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

Response body

Response body example

Error codes

If an error is returned when you call this API, find the solution in the Global error codes document based on the error message.