API request https://api.miro.com/v2/boards gets 10000 boards but I have more (( How can i get ALL the boards?
API request https://api.miro.com/v2/boards gets 10000 boards but I have more (( How can i get ALL the boards?
Hi,
Could you share with us the exact API call you make and what parameters you use? Do you use specific filtering?
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)
I have raised this to the engineering and will come back to you when I have more information.
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.
Ok thank you very much
Hello! What if the team has more than 10,000 boards?
Hi
To clarify, if you call GET Boards and pass a value for the `team_id` query param, you should be able to retrieve over 10k boards.
Because of the way our API indexes, including this param will ensure you don’t face the limitation of 10k boards:
GET https://api.miro.com/v2/boards?team_id=team_id
Cheers,
Will
Great, thanks a lot for the quick response! Any reason why the API doesn’t include the ‘last opened’ details when using the team_id parameter, but does when not using the parameter (but facing the 10k limit)?
Hi
Thank you for raising this. It’s a great point! I’m investigating this internally and will let you know once I have a better answer.
Do you need these details for an integration / app you are building? If you can share your use case it would help us to prioritise adding this to the API.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.