GET boards limit

  • 17 August 2022
  • 5 replies
  • 39 views

Badge +1

API request https://api.miro.com/v2/boards gets 10000 boards but I have more (( How can i get ALL the boards? 

 


5 replies

Userlevel 5
Badge +1

Hi,

 

Could you share with us the exact API call you make and what parameters you use? Do you use specific filtering? 

Badge +1

No, it’s just

import requests

url = "https://api.miro.com/v2/boards"

headers = {
    "Accept": "application/json",
    "Authorization": "Bearer {token}"
}

response = requests.get(url, headers=headers)

print(response.text)

Userlevel 5
Badge +1

I have raised this to the engineering and will come back to you when I have more information.

Userlevel 5
Badge +1

It seems there is a workaround that might be able to unlock you until we fix this.

If you run the same query but filter by team_id you won’t face this limitation. You could use the get teams API, get the list of team ids and get the boards for each team, with this you should be able to get all of them and bypass the limitation of 10000 boards.

Badge +1

Ok thank you very much

Reply