Learn about the other types used when creating and updating docs via the API
The monday.com docs APIs enable you to create, read, update, and delete monday docs.
Each object type described below represents a specific part of document. You can use these object types to supply metadata in mutations or to define which fields should be returned in your queries.
CreateDocInput
An input object indicating the target location for creating the new doc.
Field | Description | Supported arguments |
---|---|---|
board CreateDocBoardInput | The new document's location (when creating a doc on a board). | column_id String! item_id ID! |
workspace CreateDocWorkspaceInput | The new document's location (when creating a doc in a workspace). | kind BoardKind name String! workspace_id ID! |
Create doc board input
An input object containing the target item and column for creating the new doc.
Field | Description |
---|---|
column_id String! | The unique identifier of the column to create the new doc in. |
item_id ID! | The unique identifier of the item to create the new doc on. |
Create doc workspace input
An input object containing the target workspace for creating the new doc.
Field | Description | Enum values |
---|---|---|
kind BoardKind | The kind of document to create. | private public share |
name String! | The new document's name. | |
workspace_id ID! | The unique identifier of the workspace to create the new doc in. |
DocBlocksFromMarkdownResult
🚧 Only available in API versions 2025-10 and later
The result of adding markdown content to a document.
Field | Description |
---|---|
block_ids [String!] | An array of block IDs that were created from the markdown content. |
error String | The error message (if the operation failed). |
success Boolean! | Whether the markdown was converted successfully and added to the document. |