Other types

Learn about other types supported by the blocks APIs

The monday.com blocks APIs enable you to create, read, update, and delete document blocks from monday docs.

The types below are used by the blocks queries and mutations, and are not independently queryable.

CreateBlockInput

An object containing the block inputs, by block type.

FieldTypeDescription
divider_blockDividerBlockInputAn object containing the input for creating divider blocks.
image_blockImageBlockInputAn object containing the input for creating image blocks.
layout_blockLayoutBlockInputAn object containing the input for creating layout blocks.
list_blockListBlockInputAn object containing the input for creating list blocks.
notice_box_blockNoticeBoxBlockInputAn object containing the input for creating notice box blocks.
page_break_blockPageBreakBlockInputAn object containing the input for creating page break blocks.
table_blockTableBlockInputAn object containing the input for creating table blocks.
text_blockTextBlockInputAn object containing the input for creating text blocks.
video_blockVideoBlockInputAn object containing the input for creating video blocks.

DividerBlockInput

An object containing the input for creating divider blocks.

FieldTypeDescription
parent_block_idStringThe unique identifier of the parent block to create the new block under.

ImageBlockInput

An object containing the input for creating image blocks.

FieldTypeDescription
parent_block_idStringThe unique identifier of the parent block to create the new block under.
asset_idIDThe monday.com asset ID of the image.
public_urlStringThe public URL of the image.
widthIntThe width of the image.

LayoutBlockInput

An object containing the input for creating layout blocks.

FieldTypeDescription
column_countInt!The number of columns in the layout.
column_style[ColumnStyleInput!]The column style configuration.
parent_block_idStringThe unique identifier of the parent block to create the new block under.

ColumnStyleInput

An array containing the column style configuration.

FieldTypeDescription
widthInt!The column's width percentage.

Usage and behavior

When a layout is created, the system automatically generates column_count child cell blocks, one for each column. The layout block itself acts as a container, and each cell has parentBlockId === <layout-block-id>, making it the direct parent for any content placed in that column. The creation response also includes an ordered list of generated cell IDs under content[0].cells, represented as a one-dimensional array from left to right.

Recommended workflow

  1. Create the layout and capture its ID.
  2. Retrieve the cell block IDs from content[0].cells in the response (or by querying the layout block’s children).
  3. Bulk-create child blocks (e.g., textBlock, imageBlock) using parentBlockId = matrix[row][col]. Use afterBlockId only for ordering siblings inside the same cell.

ListBlockInput

An object containing the input for creating list blocks.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe list block's alignment.CENTER
LEFT
RIGHT
delta_format[OperationInput!]!An array of operations specifying the list block's text content and attributes.
directionBlockDirectionThe list block's text display direction.LTR
RTL
indentationIntThe list item's indentation level.
list_block_typeListBlockThe list block type. Default is BULLETED_LIST.BULLETED_LIST
CHECK_LIST
NUMBERED_LIST
parent_block_idStringThe unique identifier of the parent block to create the new block under.

NoticeBoxBlockInput

An object containing the input for creating notice box blocks. Be sure to capture the notice box block's ID after creation. Every block that will appear inside it must use that as the parent_block_id.

FieldTypeDescriptionEnum Values
parent_block_idStringThe unique identifier of the parent block to create the new block under.
themeNoticeBoxTheme!The theme options to apply to the notice box block.GENERAL
INFO
TIPS
WARNING

PageBreakBlockInput

An object containing the input for creating page break blocks.

FieldTypeDescription
parent_block_idStringThe unique identifier of the parent block to create the new block under.

TableBlockInput

An object containing the input for creating table blocks.

👍

For simpler table creation, use add_content_to_doc_from_markdown with markdown tables instead of manually creating table blocks.

FieldTypeDescription
column_countInt!The number of columns in the table.
column_style[ColumnStyleInput!]The column style configuration.
parent_block_idStringThe unique identifier of the parent block to create the new block under.
row_countInt!The number of rows in the table.
widthIntThe table's width.

Usage and behavior

When a table is created, the system automatically generates a grid of row_count × column_count child cell blocks (one for each cell). Each cell has parentBlockId === <table-block-id> and acts as the direct parent for its content. To reference cells, always use the 2D matrix returned under content[0].cells.

This matrix is row-major (matrix[rowIndex][columnIndex]). You should not rely on the order returned by docs { blocks { ... } } since that order is implementation-specific.

Recommended workflow

  1. Create the table and capture its ID.
  2. Retrieve content[0].cells to get the cell ID matrix.
  3. Bulk-create child blocks (e.g., textBlock, imageBlock) using parentBlockId = matrix[row][col]. Use afterBlockId only for ordering siblings inside the same cell.

TextBlockInput

An object containing the input for creating text blocks.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe text block's alignment.CENTER
LEFT
RIGHT
delta_format[OperationInput!]!An array of operations specifying the text block's content and attributes.
directionBlockDirectionThe text block's display direction.LTR
RTL
parent_block_idStringThe unique identifier of the parent block to create the new block under.
text_block_typeTextBlockThe text block type. Default is NORMAL_TEXT.CODE
LARGE_TITLE (H1)
MEDIUM_TITLE (H2)
NORMAL_TEXT (H3)
QUOTE
SMALL_TITLE

VideoBlockInput

An object containing the input for creating video blocks.

FieldTypeDescription
parent_block_idStringThe unique identifier of the parent block to create the new block under.
raw_urlString!The raw URL of the video.
widthIntThe width of the video.

DocumentBlockV2

An object containing the structured content, hierarchical relationships, and associated metadata of a content block.

FieldTypeDescriptionPossible Types
content[BlockContent]!A structured array of the block's content.DividerContent
ImageContent
LayoutContent
ListBlockContent
NoticeBoxContent
PageBreakContent
TableContent
TextBlockContent
VideoContent
created_atStringThe block's creation date.
created_byUserThe block's creator.
doc_idIDThe unique identifier of the doc the block belongs to.
idID!The block's unique identifier.
parent_block_idStringThe unique identifier of the parent block. Null for top-level blocks.
positionFloatThe block's position in the document. Higher numbers indicate placement towards the end of the document.
typeStringThe block's content type.
updated_atStringThe block's last updated date.

BlockContent

An abstract union type representing different types of block content. All of the BlockContent types implement the DocBaseBlockContent interface. This means they all share the common fields, alignment and direction, which can be queried through the interface.

Possible TypesDescription
DividerContentAn object containing metadata about a divider block's content.
ImageContentAn object containing metadata about an image block's content.
LayoutContentAn object containing metadata about a layout block's content.
ListBlockContentAn object containing metadata about a list block's content.
NoticeBoxContentAn object containing metadata about a notice box block's content.
PageBreakContentAn object containing metadata about a page break block's content.
TableContentAn object containing metadata about a table block's content.
TextBlockContentAn object containing metadata about a text block's content.
VideoContentAn object containing metadata about a video block's content.

DividerContent

An object containing metadata about a divider block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
directionBlockDirectionThe text direction of the block's content.LTR
RTL

ImageContent

An object containing metadata about an image block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
directionBlockDirectionThe text direction of the block's content.LTR
RTL
public_urlString!The image's public URL.
widthIntThe image's width.

LayoutContent

An object containing metadata about a layout block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
cells[Cell!]1-D array of cells.
column_style[ColumnStyle!]The column style configuration.
directionBlockDirectionThe text direction of the block's content.LTR
RTL

Cell

An object containing metadata about a cell within a layout or table block.

FieldTypeDescription
block_idString!The unique identifier of the block representing the cell (parent block of all the content blocks in the cell).

ColumnStyle

An object containing the column style configuration.

FieldTypeDescription
widthInt!The column's width percentage.

ListBlockContent

An object containing metadata about a list block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
delta_format[Operation!]!An array containing the block's text content in delta format.
directionBlockDirectionThe text direction of the block's content.LTR
RTL
indentationIntThe indentation level of the list item.

NoticeBoxContent

An object containing metadata about a notice box block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
directionBlockDirectionThe text direction of the block's content.LTR
RTL
themeNoticeBoxTheme!The notice box block's theme.GENERAL
INFO
TIPS
WARNING

PageBreakContent

An object containing metadata about a page break block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
directionBlockDirectionThe text direction of the block's content.LTR
RTL

TableContent

An object containing metadata about a table block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
cells[TableRow!]2-D array of cells (rows and columns).
column_style[ColumnStyle!]The column style configuration.
directionBlockDirectionThe text direction of the block's content.LTR
RTL
widthIntThe table's width.

ColumnStyle

An object containing the column style configuration.

FieldTypeDescription
widthInt!The column's width percentage.

TableRow

An object containing the table row's configuration.

FieldTypeDescription
row_cells[Cell!]!The row's cells.

TextBlockContent

An object containing metadata about a text block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
delta_format[Operation!]!An array containing the block's text content in delta format.
directionBlockDirectionThe text direction of the block's content.LTR
RTL

VideoContent

An object containing metadata about a video block's content.

FieldTypeDescriptionEnum Values
alignmentBlockAlignmentThe alignment of the block's content.CENTER
LEFT
RIGHT
directionBlockDirectionThe text direction of the block's content.LTR
RTL
urlString!The video's raw URL.
widthIntThe video's width.

Operation

An array of operations specifying the block's text content and attributes.

FieldTypeDescription
attributesAttributesAn object containing the optional text formatting options.
insertInsertOpsAn object containing the content to insert.

Attributes

An object containing the optional text formatting options.

FieldTypeDescription
backgroundStringThe background color (HEX, RGB, or named color).
boldBooleanWhether to apply bold formatting to the text.
codeBooleanWhether to apply code formatting to the text.
colorStringThe text's color (HEX, RGB, or named color).
italicBooleanWhether to apply italic formatting to the text.
linkStringThe URL to create a hyperlink with.
strikeBooleanWhether to apply strikethrough formatting to the text.
underlineBooleanWhether to apply underline formatting to the text.

InsertOps

An object containing the content to insert.

FieldTypeDescriptionPossible Types
blotBlotContentThe structured data within a text block.DocsColumnValue
Mention
textStringThe plain text content.

DocsColumnValue

An object containing the column value reference for displaying board item column data.

FieldTypeDescription
column_idStringThe column's unique identifier.
item_idIntThe item's unique identifier.

Mention

An object containing the mention metadata for user or document references.

FieldTypeDescriptionEnum Values
idIntThe unique identifier of the mentioned user or document.
typeDocsMentionThe mention's type.BOARD
DOC
USER

OperationInput

An array of operations specifying the block's text content and attributes.

FieldTypeDescription
attributesAttributesInputAn object containing the optional text formatting options.
insertInsertOpsInput!An object containing the content to insert.

AttributesInput

An object containing the optional text formatting options.

FieldTypeDescription
backgroundStringThe background color (HEX, RGB, or named color).
boldBooleanWhether to apply bold formatting to the text.
codeBooleanWhether to apply code formatting to the text.
colorStringThe text's color (HEX, RGB, or named color).
italicBooleanWhether to apply italic formatting to the text.
linkStringThe URL to create a hyperlink with.
strikeBooleanWhether to apply strikethrough formatting to the text.
underlineBooleanWhether to apply underline formatting to the text.

InsertOpsInput

An object containing the content to insert.

FieldTypeDescription
blotBlotInputThe structured data within a text block.
textStringThe plain text content.

BlotInput

An object containing the structured data within a text block.

FieldTypeDescription
column_valueDocsColumnValueInputThe column value reference for displaying board item column data.
mentionMentionInputThe mention metadata for user or document references.

DocsColumnValueInput

An object containing the column value reference for displaying board item column data.

FieldTypeDescription
column_idString!The column's unique identifier.
item_idInt!The item's unique identifier.

MentionInput

An object containing the mention metadata for user or document references.

FieldTypeDescriptionEnum Values
idInt!The unique identifier of the mentioned user or document.
typeDocsMention!The mention's type.BOARD
DOC
USER