CreateDocBlock
Creates a new content block within a document in Monday.
Input
Name | Type | Required | Description |
DocId | String | True | Specifies the unique identifier (ID) of the document where the block will be created. |
AfterBlockId | String | False | Indicates the block ID after which the new block should be inserted. If not provided, the new block is inserted at the beginning of the document. |
ParentBlockId | String | False | Specifies the ID of the parent block under which the new block will be appended. Used for hierarchical block structures. |
Type | String | True | Defines the content type of the block, such as text, image, or table.
The allowed values are board, bulleted_list, check_list, code, divider, image, large_title, layout, medium_title, normal_text, notice_box, numbered_list, quote, small_title, table, video, widget. |
Content | String | True | Specifies the content to include in the new block, such as text or other media. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the block creation operation was successfully completed. |
Details | String | Provides additional details about the execution of the block creation operation, including error messages if applicable. |
DocumentBlockId | String | Returns the unique identifier (ID) of the newly created document block. |