Miro API does not fetch cards in a frame

  • 8 April 2022
  • 1 reply
  • 63 views

Hi

So I am looking to fetch cards from a Miro board using the following example request from the API documentation:
 

curl --request GET \
--url https://api.miro.com/v1/boards/id/widgets/widgetId \
--header 'Accept: application/json'

and I realized that it fetches only the cards that are specifically outside of frames.

The cards inside of frames (a Kanban in this case - I used the Miro template to create the Kanban board inside my board) are not being fetched from the API.

Could you solve this issue shortly please?

Thank you so much.

 

The image below shows my testing setup. Everything on the left (outside of the frame) is syncing. AND everything on the right, inside the Kanban that I transformed into a frame, do NOT sync. What could be the solution to that? 

 


1 reply

Userlevel 6
Badge +4

Hi @VadimT7,

 

Thanks for reaching out about this, and happy to take a closer look.

 

To confirm, are you calling individual cards by ID, or are you calling the List All Widgets endpoint? When I make this request, it returns all widgets on the board, including cards whether they’re on the kanban or not:

GET https://api.miro.com/v1/boards/{boardId}/widgets

Additionally, are you passing any query params? Try removing these as well to get all items. 

Let me know if this helps, thanks!
Will

Reply