Skip to main content

Hello,

I’m trying to place an image to a board. I achieved to upload the image through the method described here: https://developers.miro.com/reference/create-or-update-picture

In path params I’m using “boards” and the ID of an existing board. 

As a result of the query I get: 

{
"type" : "picture",
"imageUrl" : XXXXXXX,
"id" : "Optional:XXXXXXXX]"
}

(I substituted the original values by “XXXXX”)

So it seems that the image is uploaded but it’s not appearing inside the mentioned board.

What am I missing? 

In the end I figure it out myself. Instead of using v1 API, I used v2.

The method is described here: https://beta.developers.miro.com/reference/rest-api-create-image-from-file

 

As feedback, it would be nice to have cross-reference between both versions of the APIs.

Thanks!


Hi @Lozanojardi,

 

The Create or update Picture API is made to update the “icon” of a user, a board or a team not images on a Miro board. We don’t have such an API in v1.

You are right, to do that you need to use the REST API available in v2.


Reply