Learn about other types supported by the docs APIs
The monday.com docs APIs enable you to create, read, update, and delete monday docs.
The types below are used by the docs queries and mutations, and are not independently queryable.
CreateDocInput
An input object indicating the target location for creating the new doc.
| Field | Type | 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 BoardKindname String!workspace_id ID! |
CreateDocBoardInput
An input object containing the target item and column for creating the new doc.
| Field | Type | 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. |
CreateDocWorkspaceInput
An input object containing the target workspace for creating the new doc.
| Field | Type | Description | Enum Values |
|---|---|---|---|
| kind | BoardKind | The kind of document to create. | privatepublicshare |
| name | String! | The new document's name. | |
| workspace_id | ID! | The unique identifier of the workspace to create the new doc in. |
DocBlocksFromMarkdownResult
The result of adding markdown content to a document.
| Field | Type | 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 | Type | 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. |
