Skip to main content
The DingTalk Docs OpenAPI provides a set of RESTful interfaces that allow developers to operate DingTalk Docs programmatically. Use these APIs to automate document reading and writing, manage block elements (create, read, update, delete), perform batch content operations, and more. They apply to scenarios such as automated document generation, content synchronization, and intelligent writing.

What is DingTalk Docs

DingTalk Docs is an enterprise collaborative office suite developed in-house by DingTalk, part of Alibaba Group. It includes online authoring tools such as documents, spreadsheets, and mind maps. In daily use, edit and view document content directly from a computer, mobile phone, or tablet without downloading anything. All changes are saved in real time automatically. DingTalk Docs is also deeply integrated with DingTalk, enabling efficient collaboration with colleagues based on organizational relationships. Use DingTalk Docs for everyday work scenarios such as information collection, project management, meetings, business reporting, and new hire onboarding. For more details, see DingTalk User Guide - DingTalk Docs.

Open capabilities overview

API list

DingTalk Docs provides a rich set of open APIs that allow developers to perform basic document operations.

Callback event list

  • Document export task completed event

Glossary

Before using the DingTalk Docs OpenAPI, you should understand the following core concepts:

dentryUuid

The unique identifier of a document. For example, in https://docs.dingtalk.io/i/nodes/Z90D4da-id, the dentryUuid is Z90D4da-id.

blockId

The unique identifier of a block element. Get it through the “Query block elements” API.

operatorId

The unionId of the operator, used to identify the user performing the operation and to verify permissions.

BlockElement

A block element is the basic unit that makes up document content, such as paragraphs, headings, highlight blocks, and tables.

InlineElement

An inline element is nested inside a block element, such as stickers, images, links, and slots.