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 | The new document's location (when creating a doc on a board). | column_id |
workspace | The new document's location (when creating a doc in a workspace). | kind |
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 | The kind of document to create. |
|
name | The new document's name. | |
workspace_id | The unique identifier of the workspace to create the new doc in. |
DocBlocksFromMarkdownResult
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. |
ImportDocFromHtmlResult
The result of converting HTML content to a new monday doc.
| Field | Description |
|---|---|
doc_id String | The unique identifier of the newly created document. |
error String | The error message (if the operation failed). |
success Boolean! | Whether the HTML was converted successfully and imported as a new document. |
