Skip to main content

Is there a way to retrieve the content of Monday Doc which is present in a item. File endpoint need a asset id where as the doc gives a doc_id.


I tried the doc endpoint as well. But I think that is to retrieve a Monday doc from different section and not for this purpose. Please let me know if more details are required.


Response from Monday Items Query files field.


"{\\"files\\":[{\\"name\\":\\"XXXX\\",\\"fileId\\":\\"e8fb253b-a3e2-0102-89de-138592287d70\\",\\"isImage\\":\\"false\\",\\"fileType\\":\\"MONDAY_DOC\\",\\"objectId\\":3951130271,\\"createdAt\\":1673955784179,\\"createdBy\\":\\"XXXX\\",\\"linkToFile\\":\\"https://XXXX.monday.com/docs/3951130271\\"}]}"

Tried Doc API with the Query taking the id from the above respose which gave an empty response.


query {
docs (ids: 3951130271, limit: 1) {
id
object_id
settings
created_by {
id
name
}
}
}

Hi @tvarunpal1806,


Welcome to the community! ⚡


Just to confirm, you would like to retrieve the content of a monday workdoc that is uploaded as an asset in the file column?


Reply