Skip to main content

I download images from the API like this(Let's say there's only one image on my board.):

  1. I call https://api.miro.com/v2/boards/{board_id}/items
  1. I make a request using the imageUrl field that I received from the response (with authorization)
  1. I receive json in the response
    "url": "https://r.miro.com/..,
        "type": "image"
  1. Using the received url I download image

But the image is downloaded in poor resolution

Please tell me how to download images from the API?

Hi @NickJohnson 

did you try to ensure that the imageUrl format parameter is set to “original”? 

You can read more about it in our docs on the get items API page, within the section for response body → data → imagedata. You can see it in the screenshot below.

format parameter: By default, the image format is set to the preview image. If you want to download the original image, set the format parameter in the URL to original.

 


Does this solve your issue?


Reply