飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions105

云文档 → 创建嵌套块

AI-generated

Summary

Create one or more nested blocks under a specified parent block or the root node of a Feishu cloud document, using a provided JSON request body to define the block contents.

Inputs

  • 凭证类型 (required) — Select authentication type: user-level or app-level credentials.
  • 文档 ID (required) — The unique identifier of the Feishu document where nested blocks will be created.
  • 父块 ID (required) — The block_id of the parent block to create nested blocks under; set to the document ID to create under the root node.
  • 文档版本 — The document version to target; -1 indicates the latest version.
  • 操作的唯一标识 — A client token for idempotent updates; leave empty to create a new request.
  • 用户 ID 类型 — Specifies user ID type for relevant user fields (e.g., open_id, union_id, user_id).
  • 请求体JSON — A JSON object following Feishu's API specification to define the nested blocks to create.
  • Options — Optional settings including batching parameters for concurrent requests and request timeout.

Output shape

a list of created block records

Returns an array of created nested block items in JSON form. Supports batch processing if batching options are enabled. Errors for individual items are included in the output if 'continueOnFail' is set; otherwise an error stops execution.

Links

Discussion