Lark icon

Lark

Consume Lark API

Actions118

文档 → 创建文档块

AI-generated

Summary

Create one or more blocks inside a Lark document by sending the supplied request body to the document blocks API under the specified parent block.

Inputs

  • Authentication — Choose Tenant Access Token or User Access Token authentication.
  • 文档 ID (required) — Select a document or enter its ID. The configured account needs read permission for the document.
  • 父块 ID (required) — ID of the block that will contain the new block or blocks.
  • 请求体 (required) — JSON object sent as the API request body to define the block content.
  • 用户 ID 类型 — Select open_id, union_id, or user_id; defaults to open_id.
  • 文档版本 — Document revision to use; defaults to -1, which indicates the latest version.
  • 请求 ID — Optional unique request identifier for idempotency.

Output shape

A single output item containing the Lark API response as JSON.

The operation runs once for each incoming item. The response shape follows the API response; API errors are raised unless Continue On Fail is enabled.

Links

Discussion