# Batch update blocks

Batch update blocks and return their updated rich text content.

**Notice**：**Application frequency limit:** The maximum frequency of a single application call is 3 times per second, beyond which the HTTP status code 400 and error code 99991400 will be returned.

**Document frequency limit**: The maximum number of concurrent edits per second for a single document is 3, beyond which the HTTP status code 429 will be returned. The edit operations include:

- Create blocks
- Create nested blocks
- Delete blocks
- Update a block
- Batch update blocks

When a request is frequency-limited, the application needs to handle the frequency-limited status code and use an exponential fallback algorithm or some other frequency-control strategy to reduce the rate of calls to the API.

## Prerequisites

Before calling this API, please ensure that the current identity (tenant_access_token or user_access_token) already has the necessary permissions to read, edit, or perform other actions on cloud documents. Otherwise, the API will return an HTTP 403 or 400 status code. For more information, refer to [How to Grant Document Permissions to Applications or Users](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#16c6475a).

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/docx/v1/documents/:document_id/blocks/batch_update
HTTP Method | PATCH
Supported app types | Custom App、Store App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.**<br>Enable any scope from the list | Create and edit upgraded Docs(docx:document)<br>Edit upgraded Docs(docx:document:write_only)
Required field scopes | **Notice**：The response body of the API contains the following sensitive fields, and they will be returned only after corresponding scopes are added. If you do not need the fields, it is not recommended that you request the scopes.<br>Obtain user ID(contact:user.employee_id:readonly)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>or<br>`user_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer u-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)
Content-Type | string | Yes | **Fixed value**: "application/json; charset=utf-8"

### Path parameters

Parameter | Type | Description
---|---|---
document_id | string | The unique identification of the document. Click [here](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-overview) to learn how to get `document_id`<br>**Example value**: "doxcnePuYufKa49ISjhD8Iabcef"

### Query parameters

Parameter | Type | Required | Description
---|---|---|---
document_revision_id | int | No | The document version to be queried. -1 indicates the latest version of the document. Once the document is created, the `document_revision_id` is 1. Make sure you have editing permission for the document. You can use the [Obtain the basic information of a document](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document/get) interface to get the latest revision ID<br>**Example value**: -1<br>**Default value**: `-1`<br>**Data validation rules**:<br>- Minimum value: `-1`
client_token | string | No | The unique identifier of the operation, corresponding to the `client_token` returned by the API. It is used for idempotent update operations. When this value is null, a new request will be initiated; when this value is not null, idempotent updates will be performed<br>**Example value**: "0e2633a3-aa1a-4171-af9e-0768ff863566"
user_id_type | string | No | User ID categories<br>**Example value**: "open_id"<br>**Optional values are**:<br>- open_id：Identifies a user to an app. The same user has different Open IDs in different apps. [How to get Open ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-openid)<br>- union_id：Identifies a user to a tenant that acts as a developer. A user has the same Union ID in apps developed by the same developer, and has different Union IDs in apps developed by different developers. A developer can use Union ID to link the same user's identities in multiple apps.[How to get Union ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-union-id)<br>- user_id：Identifies a user to a tenant. The same user has different User IDs in different tenants. In one single tenant, a user has the same User ID in all apps （including store apps）. User ID is usually used to communicate user data between different apps. [How to get User ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-user-id)<br>**Default value**: `open_id`<br>**When the value is `user_id`, the following field scopes are required**:<br>Obtain user ID(contact:user.employee_id:readonly)

### Request body

Parameter | Type | Required | Description
---|---|---|---
requests | update_block_request\[\] | Yes | Batch update block request. Multiple sub-updates to the same block are not supported in a single batch update. In other words, the Block IDs in the request body must not be repeated.<br>**Data validation rules**:<br>- Maximum length: `200`
update_text_elements | update_text_elements_request | No | Update text element request
elements | text_element\[\] | Yes | Updated text element list. For a single update:<br>- The limit for `reminder` is 30<br>- The limit for `mention_doc` is 50<br>- The limit for `mention_user` is 100<br>**Data validation rules**:<br>- Minimum length: `1`
text_run | text_run | No | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Yes | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.<br>**Example value**: "text"
text_element_style | text_element_style | No | Text local style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
mention_user | mention_user | No | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | Yes | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.<br>**Example value**: "ou_3bbe8a09c20e89cce9bff989ed840674"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
mention_doc | mention_doc | No | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Yes | Docs token<br>**Example value**: "doxbc873Y7cXD153gXqb76abcef"
obj_type | int | Yes | Docs type<br>**Example value**: 22<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | No | Docs link (url_encode)<br>**Example value**: "https%3A%2F%2Fbytedance.feishu-boe.cn%2Fdocx%2Fdoxbc873Y7cXD153gXqb76G1Y9b"
title | string | No | The title of the referenced document<br>**Example value**: "undefined"<br>**Data validation rules**:<br>- Length range: `0` ～ `800` characters
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
fallback_type | string | No | The downgrading method when there is no document reading permission or the document has been deleted<br>**Example value**: "FallbackToLink"<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | No | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Yes | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.<br>**Example value**: "ou_84aad35d084aa403a838cf73ee18467"
is_notify | boolean | No | Whether to notify<br>**Example value**: true<br>**Default value**: `false`
is_whole_day | boolean | No | Whether it's a date or a whole hour<br>**Example value**: true<br>**Default value**: `false`
expire_time | string | Yes | Time the event occurred (millisecond timestamp)<br>**Example value**: "1641967200000"
notify_time | string | Yes | Time to trigger notification (millisecond timestamp)<br>**Example value**: "1643166000000"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
file | inline_file | No | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | No | File token<br>**Example value**: "boxcnOj88GDkmWGm2zsTyCBqoLb"
source_block_id | string | No | The ID of the block in which the file is located in the current document<br>**Example value**: "doxcnM46kSWSkgUMW04ldKabcef"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
undefined | undefined_element | No | Unsupported TextElements
inline_block | inline_block | No | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Yes | Block ID<br>**Example value**: "doxcnPFi0R56ctbvh2Mjkkabcef"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
equation | equation | No | Equation
content | string | Yes | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters<br>**Example value**: "E=mc^2\n"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
update_text_style | update_text_style_request | No | Update text style request
style | text_style | Yes | Text style. Supports Text, Heading1~9, Bullet, Ordered, Quote, Todo, and Task blocks
align | int | No | Alignment<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting<br>**Default value**: `1`
done | boolean | No | Todo's status. Supports Todo Blocks<br>**Example value**: true<br>**Default value**: `false`
folded | boolean | No | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children<br>**Example value**: true<br>**Default value**: `false`
language | int | No | Code block language. Only supports Code block<br>**Example value**: 1<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | No | Whether the code block wraps automatically. Only supports the Code block<br>**Example value**: true<br>**Default value**: `false`
background_color | string | No | The background color of the block<br>**Example value**: "LightGrayBackground"<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | No | First line indentation level. Only supports the Text block.<br>**Example value**: "NoIndent"<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | No | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field<br>**Example value**: ""auto""
fields | int\[\] | Yes | Fields that should be updated must specify at least one field. For example, to adjust Block alignment, set fields to [1].<br>**Example value**: Modified text style properties<br>**Optional values are**:<br>- 1：Modify Block Alignment<br>- 2：Modify todo block completion status<br>- 3：Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered, Todo, and Task blocks with children<br>- 4：Code block language. Only supports Code block<br>- 5：Whether the code block wraps automatically. Only supports the Code block<br>- 6：Block background color<br>- 7：First line indentation level. Only supports the Text block.
update_table_property | update_table_property_request | No | Update table properties request. Only supports Table block
column_width | int | No | Table column width, unit px<br>**Example value**: 100<br>**Data validation rules**:<br>- Minimum value: `50`
column_index | int | No | Index of table columns whose column width needs to be modified<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
header_row | boolean | No | Set first line header line<br>**Example value**: false
header_column | boolean | No | Set first column header column<br>**Example value**: false
insert_table_row | insert_table_row_request | No | Table insert new row request. Only supports Table block
row_index | int | Yes | The index of the inserted row in the table. (-1 means to insert a row at the end of the table)<br>**Example value**: -1<br>**Data validation rules**:<br>- Minimum value: `-1`
insert_table_column | insert_table_column_request | No | Table insert new column request. Only supports Table block
column_index | int | Yes | The index of the inserted column in the table. (-1 means to insert a column at the end of the table)<br>**Example value**: -1<br>**Data validation rules**:<br>- Minimum value: `-1`
delete_table_rows | delete_table_rows_request | No | Table batch delete rows request. Only supports Table block
row_start_index | int | Yes | Row start index (interval closed left and right open)<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
row_end_index | int | Yes | Row end index (interval closed left and right open)<br>**Example value**: 1<br>**Data validation rules**:<br>- Minimum value: `1`
delete_table_columns | delete_table_columns_request | No | Table batch delete columns request. Only supports Table block
column_start_index | int | Yes | Column start index (interval closed left and right open)<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
column_end_index | int | Yes | Column end index (interval closed left and right open)<br>**Example value**: 1<br>**Data validation rules**:<br>- Minimum value: `1`
merge_table_cells | merge_table_cells_request | No | Table merge cells request. Only supports Table block. Table cells need to meet one of the following conditions:<br>- Completely contained within a previously merged area<br>- Completely not within a previously merged area
row_start_index | int | Yes | Row start index (interval closed left and right open)<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
row_end_index | int | Yes | Row end index (interval closed left and right open)<br>**Example value**: 1<br>**Data validation rules**:<br>- Minimum value: `1`
column_start_index | int | Yes | Column start index (interval closed left and right open)<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
column_end_index | int | Yes | Column end index (interval closed left and right open)<br>**Example value**: 1<br>**Data validation rules**:<br>- Minimum value: `1`
unmerge_table_cells | unmerge_table_cells_request | No | Table unmerge cells request. Only supports Table block
row_index | int | Yes | Table row index<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
column_index | int | Yes | Table column index<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `0`
insert_grid_column | insert_grid_column_request | No | Insert new column request. Only supports Grid block
column_index | int | Yes | Insert the column index, starting from 1, such as 1 means inserting after the first column, note that 0 is not allowed (-1 means inserting after the last column)<br>**Example value**: 1<br>**Data validation rules**:<br>- Minimum value: `-1`
delete_grid_column | delete_grid_column_request | No | Delete column request. Only supports Grid block
column_index | int | Yes | Delete the column index, starting from 0, if 0 means deleting the first column (-1 means deleting the last column)<br>**Example value**: 0<br>**Data validation rules**:<br>- Minimum value: `-1`
update_grid_column_width_ratio | update_grid_column_width_ratio_request | No | Update column width ratio request. Only supports Grid block
width_ratios | int\[\] | Yes | When updating the column width ratio, you need to pass in all column width ratios, unit %<br>**Example value**: 50<br>**Data validation rules**:<br>- Length range: `1` ～ `99`
replace_image | replace_image_request | No | Replace image request. You must ensure that you have uploaded an image before send this request
token | string | Yes | Image token. Refer to [How to insert an image - Step 2: Upload image material](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/faq#1908ddf0) to upload an image and obtain the image token.<br>**Example value**: "BoxbckbfvfcqEg22hAzN8Dh9gJd"
width | int | No | Image width(px)<br>1. The width value passed in the current request will be used first.<br>2. If no width is passed in this request and this is the first update (the image block token is empty), the server will detect the actual width of the image passed in the request and use it. If the detection fails, a fallback of 100 pixels will be used.<br>3. If no width is passed in this request and this is not the first update, the width field will remain unchanged.<br>**Example value**: 100
height | int | No | Image height(px)<br>1. The height value passed in the current request will be used first.<br>2. If no height is passed in this request and this is the first update (the image block token is empty), the server will detect the actual height of the image passed in the request and use it. If the detection fails, a fallback of 100 pixels will be used.<br>3. If no height is passed in this request and this is not the first update, the height field will remain unchanged.<br>**Example value**: 100
align | int | No | alignment<br>**Example value**: 2<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
caption | caption | No | image description
content | string | No | The content of the caption<br>**Example value**: "caption"
replace_file | replace_file_request | No | Replace file request. You must ensure that you have uploaded a file before send this request
token | string | Yes | file token<br>**Example value**: "BoxbckbfvfcqEg22hAzN8Dh9gJd"
block_id | string | No | Block unique identification. You can use the [Obtain all blocks of a document](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/document-block/list) interface to get the `block_id`<br>**Example value**: "doxcnSS4ouQkQEouGSUkTg9NJPe"
update_text | update_text_request | No | Update text element and style request
elements | text_element\[\] | Yes | Updated list of text elements. In a single request:<br>- Reminder limit: 30<br>- Mention_doc limit: 50<br>- Mention_user limit: 100<br>**Data validation rules**:<br>- Minimum length: `1`
text_run | text_run | No | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Yes | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.<br>**Example value**: "text"
text_element_style | text_element_style | No | Text local style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
mention_user | mention_user | No | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | Yes | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.<br>**Example value**: "ou_3bbe8a09c20e89cce9bff989ed840674"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
mention_doc | mention_doc | No | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Yes | Docs token<br>**Example value**: "doxbc873Y7cXD153gXqb76abcef"
obj_type | int | Yes | Docs type<br>**Example value**: 22<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | No | Docs link (url_encode)<br>**Example value**: "https%3A%2F%2Fbytedance.feishu-boe.cn%2Fdocx%2Fdoxbc873Y7cXD153gXqb76G1Y9b"
title | string | No | The title of the referenced document<br>**Example value**: "undefined"<br>**Data validation rules**:<br>- Length range: `0` ～ `800` characters
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
fallback_type | string | No | The downgrading method when there is no document reading permission or the document has been deleted<br>**Example value**: "FallbackToLink"<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | No | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Yes | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.<br>**Example value**: "ou_84aad35d084aa403a838cf73ee18467"
is_notify | boolean | No | Whether to notify<br>**Example value**: true<br>**Default value**: `false`
is_whole_day | boolean | No | Whether it's a date or a whole hour<br>**Example value**: true<br>**Default value**: `false`
expire_time | string | Yes | Time the event occurred (millisecond timestamp)<br>**Example value**: "1641967200000"
notify_time | string | Yes | Time to trigger notification (millisecond timestamp)<br>**Example value**: "1643166000000"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
file | inline_file | No | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | No | File token<br>**Example value**: "boxcnOj88GDkmWGm2zsTyCBqoLb"
source_block_id | string | No | The ID of the block in which the file is located in the current document<br>**Example value**: "doxcnM46kSWSkgUMW04ldKabcef"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
undefined | undefined_element | No | Unsupported TextElements
inline_block | inline_block | No | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Yes | Block ID<br>**Example value**: "doxcnPFi0R56ctbvh2Mjkkabcef"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
equation | equation | No | Equation
content | string | Yes | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters<br>**Example value**: "E=mc^2\n"
text_element_style | text_element_style | No | Text element style
bold | boolean | No | Bold<br>**Example value**: true<br>**Default value**: `false`
italic | boolean | No | Italic<br>**Example value**: true<br>**Default value**: `false`
strikethrough | boolean | No | Strikethrough<br>**Example value**: true<br>**Default value**: `false`
underline | boolean | No | Underline<br>**Example value**: true<br>**Default value**: `false`
inline_code | boolean | No | Inline code<br>**Example value**: true<br>**Default value**: `false`
background_color | int | No | Background color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | No | Font color<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | No | Link
url | string | Yes | The url pointed to by hyperlinke (requires url_encode)<br>**Example value**: "https%3A%2F%2Fopen.feishu.cn%2F"
comment_ids | string\[\] | No | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.<br>**Example value**: ["1660030311959965796"]
style | text_style | Yes | Updated text style
align | int | No | Alignment<br>**Example value**: 1<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting<br>**Default value**: `1`
done | boolean | No | Todo's status. Supports Todo Blocks<br>**Example value**: true<br>**Default value**: `false`
folded | boolean | No | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children<br>**Example value**: true<br>**Default value**: `false`
language | int | No | Code block language. Only supports Code block<br>**Example value**: 1<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | No | Whether the code block wraps automatically. Only supports the Code block<br>**Example value**: true<br>**Default value**: `false`
background_color | string | No | The background color of the block<br>**Example value**: "LightGrayBackground"<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | No | First line indentation level. Only supports the Text block.<br>**Example value**: "NoIndent"<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | No | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field<br>**Example value**: ""auto""
fields | int\[\] | Yes | Fields in the text style that should be updated must specify at least one field. For example, to adjust Block alignment, set fields to [1].<br>**Example value**: [1]<br>**Optional values are**:<br>- 1：The alignment of blocks<br>- 2：Todo's status. Supports Todo and Task Blocks<br>- 3：Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered, Todo, and Task blocks with children<br>- 4：Code block language. Only supports Code block<br>- 5：Modify the collapsed state of the code block<br>- 6：Block background color<br>- 7：First line indentation level. Only supports the Text block.
update_task | update_task_request | No | Update Task Block Request
task_id | string | No | Task ID. This field only takes effect when the Task Block is updated for the first time. After the update is successful, the field will be ignored in subsequent requests.<br>**Example value**: "ba5040f4-8116-4042-ab3c-254e5cfe3ce7"
folded | boolean | No | Folded state, the folded state is not updated when the field is empty<br>**Example value**: false

### Request example
```bash
curl --location --request PATCH 'https://open.feishu.cn/open-apis/docx/v1/documents/doxcnAJ9VRRJqVMYZ1MyKnabcef/blocks/batch_update' \
--header 'Authorization: Bearer u-xxx'
--header 'Content-Type: application/json' \
--data-raw '{
    "requests": [
        {
            "block_id": "doxcnk0i44OMOaouw8AdXuXrp6b",
            "merge_table_cells": {
                "column_end_index": 2,
                "column_start_index": 0,
                "row_end_index": 1,
                "row_start_index": 0
            }
        },
        {
            "block_id": "doxcn0K8iGSMW4Mqgs9qlyTP50d",
            "update_text_elements": {
                "elements": [
                    {
                        "text_run": {
                            "content": "Hello",
                            "text_element_style": {
                                "background_color": 2,
                                "bold": true,
                                "italic": true,
                                "strikethrough": true,
                                "text_color": 2,
                                "underline": true                            }
                        }
                    },
                    {
                        "text_run": {
                            "content": "World ",
                            "text_element_style": {
                                "italic": true
                            }
                        }
                    },
                    {
                        "mention_doc": {
                            "obj_type": 22,
                            "token": "doxcnAJ9VRRJqVMYZ1MyKnayXWe",
                            "url": "https://test.feishu.cn/docx/doxcnAJ9VRRJqVMYZ1MyKnabcef"
                        }
                    }
                ]
            }
        }
    ]
}'
# You need to replace 'u-xxx' in 'Authorization: Bearer u-xxx' with the real access token 
```

### Request body example
```json
{
    "requests": [
        {
            "block_id": "doxcnk0i44OMOaouw8AdXuXrp6b",
            "merge_table_cells": {
                "column_end_index": 2,
                "column_start_index": 0,
                "row_end_index": 1,
                "row_start_index": 0
            }
        },
        {
            "block_id": "doxcn0K8iGSMW4Mqgs9qlyTP50d",
            "update_text_elements": {
                "elements": [
                    {
                        "text_run": {
                            "content": "Hello",
                            "text_element_style": {
                                "background_color": 2,
                                "bold": true,
                                "italic": true,
                                "strikethrough": true,
                                "text_color": 2,
                                "underline": true
                            }
                        }
                    },
                    {
                        "text_run": {
                            "content": "World ",
                            "text_element_style": {
                                "italic": true
                            }
                        }
                    },
                    {
                        "mention_doc": {
                            "obj_type": 22,
                            "token": "doxcnAJ9VRRJqVMYZ1MyKnayXWe",
                            "url": "https%3A%2F%2Ftest.feishu.cn%2Fdocx%2FdoxcnAJ9VRRJqVMYZ1MyKnayXWe"
                        }
                    }
                ]
            }
        }
    ]
}
```

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-
blocks | block\[\] | Batch update response blocks
block_id | string | The unique identification of a block
parent_id | string | The ID of a block's parent
children | string\[\] | ID list of a block's children
block_type | int | Block type<br>**Optional values are**:<br>- 1：Page Block<br>- 2：Text Block<br>- 3：Level 1 Heading Block<br>- 4：Level 2 Heading Block<br>- 5：Level 3 Heading Block<br>- 6：Level 4 Heading Block<br>- 7：Level 5 Heading Block<br>- 8：Level 6 Heading Block<br>- 9：Level 7 Heading Block<br>- 10：Level 8 Heading Block<br>- 11：Level 9 Heading Block<br>- 12：Bullet List Block<br>- 13：Ordered List Block<br>- 14：Code Block<br>- 15：Quote Block<br>- 17：Todo Block<br>- 18：Bitable Block<br>- 19：Callout Block<br>- 20：Chat Card Block<br>- 21：UML Diagram Block<br>- 22：Divider Block. The Divider Block is an empty struct, and you need to add `{}` to construct the Divider Block.<br>- 23：File Block<br>- 24：Grid Block<br>- 25：Grid Column Block<br>- 26：Iframe Block<br>- 27：Image Block<br>- 28：ISV Block<br>- 29：Mindnote Block<br>- 30：Sheet Block<br>- 31：Table Block<br>- 32：Table Cell Block<br>- 33：View Block<br>- 34：Quote Container Block. The Quote Container Block is an empty struct, and you need to add `{}` to construct the Quote Container Block.<br>- 35：Task Block<br>- 36：OKR Block<br>- 37：OKR Objective Block<br>- 38：OKR Key Result Block<br>- 39：OKR Progress Block<br>- 40：Add-Ons Block<br>- 41：Jira Issue Block<br>- 42：Wiki Catalog Block<br>- 43：Board<br>- 44：Agenda Block<br>- 45：Agenda Item Block<br>- 46：Agenda Item Title Block<br>- 47：Agenda Item Content Block<br>- 48：Link Preview Block<br>- 49：Source Synced Block. Read-only, creation is not supported. <br>- 50：Reference Synced Block. Read-only, creation is not supported. To obtain the content of the reference synced block, see: [How to get the content of a reference synced block]<br>(https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/faq#19b71234)<br>- 51：Sub Page List Block<br>- 52：AI Template Block. Read-only, creation is not supported.<br>- 999：Blocks not supported
page | text | Document Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
text | text | Text Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading1 | text | Level 1 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading2 | text | Level 2 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading3 | text | Level 3 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading4 | text | Level 4 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading5 | text | Level 5 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading6 | text | Level 6 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading7 | text | Level 7 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading8 | text | Level 8 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading9 | text | Level 9 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
bullet | text | Bullet List Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
ordered | text | Ordered List Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
code | text | Code Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
quote | text | Quote Block.
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | text | Equation Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
todo | text | Todo Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
bitable | bitable | Bitable Block
token | string | Bitable Block
view_type | int | View type<br>**Optional values are**:<br>- 1：Data sheet<br>- 2：Kanban
callout | callout | Callout Block
background_color | int | Callout block background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium gray<br>- 8：Medium Red<br>- 9：Medium orange<br>- 10：Medium yellow<br>- 11：Medium green<br>- 12：Medium blue<br>- 13：Medium purple<br>- 14：Gray<br>- 15：Light Gray
border_color | int | Border color<br>**Optional values are**:<br>- 1：Red<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Gray
text_color | int | Text color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
emoji_id | string | Callout Block icon
chat_card | chat_card | Chat Card Block
chat_id | string | Chat ID
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
diagram | diagram | UML Diagram Block
diagram_type | int | Diagram type<br>**Optional values are**:<br>- 1：Flowchart<br>- 2：UML diagram
divider | divider | Divider Block. The Divider Block is an empty struct, and you need to add {} to construct the Divider Block.
file | file | File Block
token | string | Attachment Token
name | string | File name
view_type | int | View type<br>**Optional values are**:<br>- 1：Card view<br>- 2：Preview view
grid | grid | Grid Block
column_size | int | Number of columns
grid_column | grid_column | Grid Column Block
width_ratio | int | The proportion of the current column to the total column, unit %
iframe | iframe | Iframe Block
component | iframe_component | Component elements of iframe
iframe_type | int | Iframe Type<br>**Optional values are**:<br>- 1：Bilibili<br>- 2：Xigua Video<br>- 3：Youku<br>- 4：Airtable<br>- 5：Baidu Map<br>- 6：Autonavi Map<br>- 7：Undefined<br>- 8：Figma<br>- 9：Ink knife<br>- 10：Canva<br>- 11：CodePen<br>- 12：Feishu Survey<br>- 13：Gold data<br>- 14：Undefined<br>- 15：Undefined<br>- 99：Other
url | string | Iframe target url (requires url_encode)
image | image | Image Block
width | int | Width unit px
height | int | Height unit px
token | string | Image token
align | int | alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
caption | caption | Caption
content | string | The content of the caption
isv | isv | ISV Block
component_id | string | Team Interaction App Unique ID.
component_type_id | string | Team interaction application types, such as information collection "blk_5f992038c64240015d280958".
add_ons | add_ons | Add-ons. To learn about the Docs add-on, refer to [Overview of Docs add-on](https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/docs-add-on/docs-add-on-introduction)
component_id | string | Document component ID. The ID can be obtained by calling the [Create BlockEntity](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/block-v2/entity/create) api and from the `block_id` in the response body. The `block_type_id` used during creation must be consistent with the `component_type_id`.
component_type_id | string | Document widget types, such as Q & A interactive "blk_636a0a6657db8001c8df5488".  This ID can be obtained in [Developer Console](https://open.feishu.cn/app) > **Application Details Page** > **Add Features** > **Docs add-on** > **BlockTypeID**.
record | string | Document widget content data, JSON string
mindnote | mindnote | Mindnote Block
token | string | Mindnote token
sheet | sheet | Sheet Block
token | string | The combination of the token of the spreadsheet block and the sheet ID
row_size | int | Number of spreadsheet rows
column_size | int | Number of spreadsheet columns
table | table | Table Block
cells | string\[\] | Array of cells, the array element is the ID of the Table Cell Block
property | table_property | Table Properties
row_size | int | Number of rows<br>- In the **Create Blocks** api, the maximum value of this field is 9 <br>- In the **Create Nested Blocks** api, if a single table cell does not exceed the upper limit of 2000, this field has no fixed maximum value
column_size | int | Number of columns<br>- In the **Create Blocks** api, the maximum value of this field is 9 <br>- In the **Create Nested Blocks** api, the maximum value of this field is 100
column_width | int\[\] | Column width in px
merge_info | table_merge_info\[\] | Cell merge information. This property is read-only when creating a table and is generated by the backend. If you need to merge cells, you can do so by using the subrequest merge_table_cells of the Update Block api.
row_span | int | Number of consecutive rows merged from the current line
col_span | int | Number of consecutive columns that are merged from the current pristine
header_row | boolean | Set the first row as the header row.
header_column | boolean | Set the first column as the header column.
table_cell | table_cell | Table Cell Block
view | view | View Block
view_type | int | View type<br>**Optional values are**:<br>- 1：Card view<br>- 2：Preview view<br>- 3：inline
undefined | undefined | Blocks not supported
quote_container | quote_container | Quote Container Block. The Quote Container Block is an empty struct, and you need to add `{}` to construct the Quote Container Block.
task | task | Task Block
task_id | string | Task ID. For query task details, see: [Get Task Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/task-v2/task/get)
folded | boolean | Folded state
okr | okr | OKR blocks. It can only be created when using Authorization with `user_access_token`
okr_id | string | OKR ID. Get the OKR ID that needs to be inserted and see [Get the user's OKR list](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/user-okr/list)
objectives | objective_id_with_kr_id\[\] | The objective ID and key result ID in the OKR Block, insert all objective and key result under okr when objectives is null
objective_id | string | Objective ID in OKR
kr_ids | string\[\] | List of IDs of key results, insert all key results under the current objective when kr_ids is null or empty
period_display_status | string | Period status<br>**Optional values are**:<br>- default：Default<br>- normal：Normal<br>- invalid：Invalid<br>- hidden：Hidden
period_name_zh | string | Chinese Period Name
period_name_en | string | English Period Name
user_id | string | The owner id of OKR
visible_setting | okr_visible_setting | Visibility settings
progress_fill_area_visible | boolean | Is the progress edit area visible
progress_status_visible | boolean | Is the progress status visible
score_visible | boolean | Is the score visible
okr_objective | okr_objective | OKR Objective Block
objective_id | string | Objective ID
confidential | boolean | Whether private permissions have been set in OKR system
position | int | The position number of the objective, corresponding to the 1 and 2 of O1 and O2 in the Block
score | int | Score information
visible | boolean | Whether the objective is displayed in OKR Block
weight | float | Objective weight
progress_rate | okr_progress_rate | Progress information
mode | string | Status mode<br>**Optional values are**:<br>- simple：Simple mode<br>- advanced：Advanced mode
current | float | Current progress, unit %, used in advanced mode
percent | float | Current progress percentage, used in simple mode
progress_status | string | Status of progress<br>**Optional values are**:<br>- unset：Not set<br>- normal：Normal<br>- risk：Risky<br>- extended：Postponed
start | float | Progress starting value, unit %, used in advanced mode
status_type | string | State Calculation Type<br>**Optional values are**:<br>- default：Presenting the Highest Risk Key Result<br>- custom：Custom
target | float | Progress target value, unit %, used in advanced mode
content | text | Objective textual content
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
okr_key_result | okr_key_result | OKR Key Result Block
kr_id | string | ID of key result
confidential | boolean | Whether private permissions have been set  in OKR system
position | int | The position number of the key result corresponds to 1 and 2 of KR1 and KR2 in the Block.
score | int | Score information
visible | boolean | Is this key result visible in OKR Block
weight | float | Weight of key result
progress_rate | okr_progress_rate | Progress information
mode | string | Status mode<br>**Optional values are**:<br>- simple：Simple mode<br>- advanced：Advanced mode
current | float | Current progress, unit %, used in advanced mode
percent | float | Current progress percentage, used in simple mode
progress_status | string | Status of progress<br>**Optional values are**:<br>- unset：Not set<br>- normal：Normal<br>- risk：Risky<br>- extended：Postponed
start | float | Progress starting value, unit %, used in advanced mode
status_type | string | State Calculation Type<br>**Optional values are**:<br>- default：Presenting the Highest Risk Key Result<br>- custom：Custom
target | float | Progress target value, unit %, used in advanced mode
content | text | Key result textual content
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
okr_progress | okr_progress | OKR Progress Block
comment_ids | string\[\] | Comment ids
jira_issue | jira_issue | Jira Issue Block
id | string | Jira Issue ID
key | string | Jira Key
wiki_catalog | wiki_catalog | Wiki Catalog Block
wiki_token | string | wiki token
board | board | Board Block
token | string | Board Token
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
width | int | The width of the board, measured in pixels (px); when left blank, it will automatically adapt to the document's width. If the specified value exceeds the maximum width of the document, the page rendering will be constrained to the document's maximum width.
height | int | The height of the board, measured in pixels (px); when left blank, it will be automatically calculated based on the content of the board. If the specified value exceeds twice the height of the screen, the page rendering will be constrained to twice the screen height.
agenda | agenda | Agenda Block
agenda_item | agenda_item | Agenda Item Blocks
agenda_item_title | agenda_item_title | Agenda Item Title Block
elements | agenda_title_element\[\] | Text element
text_run | text_run | Text
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @user
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder.
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElement
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
align | int | alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
agenda_item_content | agenda_item_content | Agenda Item Content Block
link_preview | link_preview | Link Preview Block
url | string | link
url_type | string | Link type<br>**Optional values are**:<br>- MessageLink：Message link<br>- Undefined：Undefined link type
source_synced | source_synced | Source Synced Block. Read-only, creation is not supported.
elements | text_element\[\] | The independent page title of the synced block is composed of text elements
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.<br>**Data validation rules**:<br>* Maximum total length of content in a text block: `100,000` UTF-16 characters.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
fallback_type | string | The downgrading method when there is no document reading permission or the document has been deleted<br>**Optional values are**:<br>- FallbackToLink：Downgrade to write in the form of a hyperlink. The text content of the hyperlink is the title of the currently incoming document, and the link is the current incoming cloud document link (url_encode is required).<br>- FallbackToText：Downgrade to text form for writing, and the text content is the result of URL decoding of the currently passed cloud document link
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html).<br>**Data validation rules**:<br>* Length range: `1` ～ `10,000` characters
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
align | int | Mode of alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
reference_synced | reference_synced | Reference Synced Block. Read-only, creation is not supported. To obtain the content of the reference synced block, see: [How to get the content of a reference synced block]<br>(https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/faq#19b71234)
source_document_id | string | The document id of the source document
source_block_id | string | The block id of the source synced block
sub_page_list | sub_page_list | Sub Page List Block
wiki_token | string | The wiki token. Only supports the creation of a sub-page list for the wiki base document, and the wiki token of the current page must be passed in.
ai_template | ai_template | AI Template block. Read-only, creation is not supported.
document_revision_id | int | The version number of the document after the current update is successful
client_token | string | The unique identifier of the operation, which is used in the update request to indicate that the update is idempotent

### Response body example
```json
{
    "code": 0,
    "data": {
        "blocks": [
            {
                "block_id": "doxcn0K8iGSMW4Mqgs9qlyTP50d",
                "block_type": 2,
                "parent_id": "doxcnAJ9VRRJqVMYZ1MyKnayXWe",
                "text": {
                    "elements": [
                        {
                            "text_run": {
                                "content": "Hello",
                                "text_element_style": {
                                    "background_color": 2,
                                    "bold": true,
                                    "inline_code": false,
                                    "italic": true,
                                    "strikethrough": true,
                                    "text_color": 2,
                                    "underline": true
                                }
                            }
                        },
                        {
                            "text_run": {
                                "content": "World ",
                                "text_element_style": {
                                    "bold": false,
                                    "inline_code": false,
                                    "italic": true,
                                    "strikethrough": false,
                                    "underline": false
                                }
                            }
                        },
                        {
                            "mention_doc": {
                                "obj_type": 22,
                                "title": "Demo",
                                "token": "doxcnAJ9VRRJqVMYZ1MyKnayXWe",
                                "url": "https%3A%2F%2Ftest.feishu.cn%2Fdocx%2FdoxcnAJ9VRRJqVMYZ1MyKnayXWe"
                            }
                        }
                    ],
                    "style": {
                        "done": false,
                        "folded": false,
                        "wrap": false
                    }
                }
            },
            {
                "block_id": "doxcnk0i44OMOaouw8AdXuXrp6b",
                "block_type": 31,
                "children": [
                    "doxcnO2UeYco4mu80sr6oRCiRpf",
                    "doxcnaAGMYMk6kcGeYXNfc1Rluc",
                    "doxcnCKuqMQOM0gAOYfysUgZD2d",
                    "doxcnMKg8Uk8wiAMIW8omQ06uoc"
                ],
                "parent_id": "doxcnAJ9VRRJqVMYZ1MyKnayXWe",
                "table": {
                    "cells": [
                        "doxcnO2UeYco4mu80sr6oRCiRpf",
                        "doxcnaAGMYMk6kcGeYXNfc1Rluc",
                        "doxcnCKuqMQOM0gAOYfysUgZD2d",
                        "doxcnMKg8Uk8wiAMIW8omQ06uoc"
                    ],
                    "property": {
                        "column_size": 2,
                        "column_width": [
                            100,
                            100
                        ],
                        "merge_info": [
                            {
                                "col_span": 2,
                                "row_span": 1
                            },
                            {
                                "col_span": 1,
                                "row_span": 1
                            },
                            {
                                "col_span": 1,
                                "row_span": 1
                            },
                            {
                                "col_span": 1,
                                "row_span": 1
                            }
                        ],
                        "row_size": 2
                    }
                }
            }
        ],
        "client_token": "e472907a-9ddc-4453-af28-22a6530b76b9",
        "document_revision_id": 387
    },
    "msg": ""
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
400 | 1770001 | invalid param | Confirm whether the passed parameters are valid
404 | 1770002 | not found | **For Document APIs**:<br>The `document_id` of the document does not exist. Please verify that the document has not been deleted or that the `document_id` is correct. Refer to [Document overview](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-overview) for information on how to get the `document_id` of a document.<br>**For Group Announcement APIs**:<br>The `chat_id` of the group announcement does not exist. Please verify that the group has not been disbanded or if the `chat_id` is correctly inputted.
400 | 1770003 | resource deleted | Confirm whether the resource has been deleted
400 | 1770004 | too many blocks in document | Confirm whether the number of document blocks exceeds the limit
400 | 1770005 | too deep level in document | Confirm whether the level of document blocks exceeds the limit
400 | 1770006 | schema mismatch | Confirm whether the document structure is valid
400 | 1770007 | too many children in block | Confirm whether the number of children for a specified block exceeds the limit
400 | 1770008 | too big file size | Confirm whether the uploaded file size exceeds the limit
400 | 1770010 | too many table column | Confirm whether the number of table columns exceeds the limit
400 | 1770011 | too many table cell | Confirm whether the number of table cells exceeds the limit
400 | 1770012 | too many grid column | Confirm whether the number of grid columns exceeds the limit
400 | 1770013 | relation mismatch | Images, files, and other resources are incorrectly associated. Please make sure that you have uploaded the related image or file material to the corresponding document block at the same time when you create the image or file block. Please refer to the documentation [FAQ 3 and 4](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/faq#1908ddf0) for details
400 | 1770014 | parent children relation mismatch | Confirm whether the parent-child relationships of blocks are correct
400 | 1770015 | single edit with multi document | Confirm whether the block belongs to the specified document
400 | 1770019 | repeated blockID in document | Confirm whether there are duplicate Block IDs in the document
400 | 1770020 | operation denied on copying document | Confirm whether the document is currently being copied
400 | 1770021 | too old document | Confirm if the specified document version is too old. The difference between the specified `revision_id` and the latest `revision_id` of the document cannot exceed 1000
400 | 1770022 | invalid page token | Confirm if the page_token in the query parameters is valid
400 | 1770024 | invalid operation | Confirm whether the operation is valid<br>- Except for text_run, other text_element are not allowed to set link attribute<br>- Undefined element is not allowed to be set in text_element<br>- The number of columns of the grid column is between 2 and 10, and it is not allowed to reduce or increase the number of columns beyond the agreed range<br>- When the table has only one row or one column, it is not allowed to operate the table by requesting to reduce the number of rows and columns of the table
400 | 1770025 | operation and block not match | Confirm whether the corresponding operation of the specified block is valid
400 | 1770026 | row operation over range | Confirm if the row operation index is out of bounds
400 | 1770027 | column operation over range | Confirm if the column operation index is out of bounds
400 | 1770028 | block not support create children | Confirm if adding children to the specified block is valid
400 | 1770029 | block not support to create | Confirm whether the specified block supports creation
400 | 1770030 | invalid parent children relation | Confirm whether the parent-child relationship for the specified operation is valid
400 | 1770031 | block not support to delete children | Confirm if the specified block supports deleting children
400 | 1770033 | content size exceed limit | Confirm whether plain text content size exceeds limit
400 | 1770034 | operation count exceed limited | Too many cells are involved in the current request. Please split into multiple requests
400 | 1770035 | Resource count exceeds limit | The number of resources in the current request exceeds the limit, please split it into multiple requests. The upper limit of various resources is: 200 ChatCard, 200 File, 200 MentionDoc, 200 MentionUser, 20 Image, 20 ISV, 5 Sheet and 5 Bitable.
400 | 1770038 | resource not found | The inserted resource was not found or the resource did not have permission to insert, please check that the resource identifier is correct.
403 | 1770032 | forbidden | **For Document APIs**:<br>- Confirm whether the current access identity has permission to read or edit documents. Please refer to the following methods to resolve this:<br>- If you are using a `tenant_access_token`, it means the current application does not have permission to read or edit documents. You need to add document permissions for the application through the cloud document webpage by navigating to the top right corner **"..."** -> **"... More"** -> **"Add applications"**.<br>**Note**: Before adding a document application, you need to ensure that the target application has at least one cloud document [API permission](https://open.feishu.cn/document/ukTMukTMukTM/uYTM5UjL2ETO14iNxkTN/scope-list) enabled. Otherwise, you will not be able to search for the target application in the document application window.<br>![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/bb60f97ebb402475f2af1d3131d4914f_sLOzoqYRXX.png?height=1992&maxWidth=550&width=3278)<br>- If you are using a `user_access_token`, it means the current user does not have permission to read or edit documents. You need to add document permissions for the current user through the **Share** entry in the top right corner of the cloud document webpage.<br>![image.png](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/caceea2ac91c170555194d7a8dc2a317_GfTRc9xLAt.png?height=1992&maxWidth=550&width=3278)<br>For more details on the specific steps or other methods to add permissions, refer to [Cloud Document FAQ 3](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#16c6475a).<br>- Confirm whether the current access identity has permission to read MentionDoc, i.e., @document.<br>- Confirm whether the user in MentionUser, i.e., @user, is currently employed and is a contact of the current access identity.<br>- Confirm whether the current access identity has permission to view and share group cards.<br>- Confirm whether the current access identity has permission to access specific Wiki subdirectories.<br>- Confirm whether the current access identity has permission to view document blocks such as OKR, ISV, Add-Ons, etc.<br>**For Group Announcement APIs**:<br>The current operator does not have permission to edit group announcemen. Solution:<br>- Solution 1: Call the [Specify group administrator](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-managers/add_managers) interface to set the current operator as a group administrator, and then try again.<br>- Solution 2: In **Feishu Client > Group > Settings > Group Settings**, set **Who can edit group info** to **Everyone in this group**, and then try again.<br>When working with APIs for creating and updating group announcement, ensure the following:<br>- Confirm whether the current access identity has permission to read MentionDoc, i.e., @document.<br>- Confirm whether the user in MentionUser, i.e., @user, is currently employed and is a contact of the current access identity.<br>- Confirm whether the current access identity has permission to view and share group cards.<br>- Confirm whether the current access identity has permission to access specific Wiki subdirectories.<br>- Confirm whether the current access identity has permission to view document blocks such as OKR, ISV, Add-Ons, etc.
500 | 1771001 | server internal error | Server internal error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
500 | 1771006 | mount folder failed | Failed to mount the document to the cloud space folder. Please check if a `wiki_token` was mistakenly passed and try again. If the issue persists, please contact [Technical Support](https://applink.feishu.cn/TLJpeNdW).
500 | 1771002 | gateway server internal error | Gateway service internal error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
500 | 1771003 | gateway marshal error | Gateway service parsing error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
500 | 1771004 | gateway unmarshal error | Gateway service unmarshalling error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
503 | 1771005 | system under maintenance | System service is under maintenance. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.

