Downloading Monday DOC assets through API

Hello there,

We need to download a document we’ve uploaded to a Board using API, but couldn’t find any reference to how accomplish that.

When I retrieve the results, I get this data in JSON format:
[value] => {“files”:[{“name”:“monday Doc”,“fileId”:“xxx”,“isImage”:“false”,“fileType”:“MONDAY_DOC”,“objectId”:2335538956,“createdAt”:1645646169725,“createdBy”:“22375823”,“linkToFile”:“https//xxx.monday.com/docs/2335538956”}]}

(I’ve changed some of the data above for privacy.)

Is there a way to initiate the download of the Word document when accessing https//xxx.monday.com/docs/2335538956 ? Or perhaps a way to retrieve a temporary public download URL the same way you have with picture assets?

Please advise.

1 Like

Hello @gabic and welcome to the community!

I hope you like it here :muscle:

What response do you get if you use your playground to run this query for the item that has the Word file in it?

{
  items(ids: 12345678) {
    assets {
      public_url
      id
      name
    }
  }
}

Looking forward to hearing from you!

Cheers,
Matias

1 Like

I get an empty array:

{
  "data": {
    "items": []
  },
  "account_id": 9024451
}

I should mention it’s not a Word doc, but Workdoc (MONDAY_DOC) type of file.

Hello again @gabic !

Oh. I understand.

As of today there is no way of downloading the monday docs via API.

Let me know if you have any other questions :slightly_smiling_face:

Cheers,
Matias

Hi @Matias.Monday ,

Do we have an API now available to access Monday Workdocs content with rich text?

Hello @vishallimgire and welcome to the community!

I hope you like it here :muscle:

As of today we do not have API methods to interact with workdocs content with rich text.

If we add this feature, it will be announce in our changelog!

Cheers,
Matias

1 Like

Thanks @Matias.Monday for quick reply.

Glad to help!

Let us know if you have any other questions :slightly_smiling_face:

Is this feature expected to be added to the API soon?

Hello there @tvoden,

There have been a few questions in this thread. What feature are you referring to?

The ability to download a Monday Doc via the API… is it possible year or is it expected to be possible soon>

Thank you!

Thank you @tvoden for the confirmation!

That feature is not yet available and at this moment we do not have an ETA.

If it gets implemented, it will be announced in the community and in the changelog :smile:

Cheers,
Matias

1 Like