Hey @liquidus,
Good question! Happy to shine some light on this for you.
To that end, if your app will be installed on an organization level, you can retrieve boards for a specific team by following this flow:
1. Call LIST Teams API to retrieve team_id
2. Next, call GET Boards API and pass the query param team_id with the value from step 1
Essentially, you should be able to loop through GET Teams API to get the team ID, and then pass that to your subsequent requests to get boards, as a query parameter.
Let me know if it helps!
Will
Thank you @William Bishop
- For other requests such as GET sticky notes I will not use team_id as I need to refer to specific board, right?
- I assume that query parameter team_id will let me access only teams in which my app was installed, is that right? Can I list boards of team without installed app (I would know team_id).
- What is the logic for two above questions for free plan?
Related question: which team_id I will receive in access token response if my app will be claimed for whole organization (with enterprise plan)?
https://developers.miro.com/reference/exchange-authorization-code-with-access-token