Rest API: Send to Back/Bring to Front

  • 8 March 2021
  • 1 reply

Is there a way to change the layering of widgets on a board via the rest api?

I get inconsistent layering, i think due to race conditions sending create widget requests. From what i can tell the more recently added widgets always end up on top, but i  can’t find a way to add a widget behind ones that already appear on the board.

I assume i’m missing something?


Thanks for the help



Best answer by Daniela Gavidia 12 March 2021, 12:42

View original

1 reply

Userlevel 4

Hello Mokes,


It is not currently possible to control the layering of objects through the REST API. It can be done to an extent in the SDK using bringForward() and sendBackward():

These methods are the equivalent of right-clicking on a widget in the Miro board and then clicking “Bring to front” or “Send to back”.

I hope this helps.


Kind regards.