I want to fetch the contents of the docs in the monday doc column using the api. Is it possible? Currently only able to fetch the workdocs in a workspace.
Hello there @manishaghosh,
When you enter your document from the doc column, you will see in the URL something like this:
“https: //yourdomain.monday.com/boards/1111111/pulses/22222222?doc_id=1234567890”
If you use that last ID (the doc_id), then you can query for the content of the blocks in your document:
{
docs(object_ids: [1234567890]) {
id
blocks {
content
id
type
}
}
}
I hope that helps!
Cheers,
Matias
1 Like