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.
Page 1 / 1
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: d1234567890]) {
id
blocks {
content
id
type
}
}
}
I hope that helps!
Cheers,
Matias
Reply
Login to monday.com
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.