Skip to main content

how to Download Document from Whiteboard using API?


Hey, I need to download a document from a White Board using item_id and board_id. Is there anyway I can do it with any of Miro APIs available? If not, any suggestions on how to do that?

Thanks!

Was it helpful?

5 replies

  • Mironeer
  • 1 reply
  • August 4, 2022

Hi @Vamsi,

At the moment it's not yet possible to download a document from a board with the REST API. This feature is planned, and we'll release it to production in the future (no ETA for it at the moment.)

Right now, you can get a JSON response with details about an uploaded document by sending a GET request to this endpoint:

https://api.miro.com/v2/boards/{board_id}/documents/{item_id}

 

The interactive REST API docs can give you more context and you can try it out:

https://developers.miro.com/reference/get-document-item

 

Thanks!

Marco | DevX team | Miro


kubens_dev123
Forum|alt.badge.img+1

Hello, this works only for the documents that are uploaded. However, if you create a document on the website it is returned as an “unknown” and the enpoint you mentioned also does not help.


Horea Porutiu
Mironeer
Forum|alt.badge.img+1

Hey ​@kubens_dev123 

Is this for a Miro Doc, specifically, i.e. the thing I show in the screenshot?

In our docs, we mention our beta items are not yet supported by our REST API or WebSDK (see Beta widgets at the bottom). 


If so - this is a known limitation, and we are working on it. 


 


kubens_dev123
Forum|alt.badge.img+1

Yes that is what i am asking for, great to know it is being worked on. Thanks for your answer!


Horea Porutiu
Mironeer
Forum|alt.badge.img+1

I will update this thread once we have some updates to share with you. Sorry for any confusion / inconvenience it may have caused. 


Reply