I created a board using the api (https://api.miro.com/v2/boards). I can see the boards in my list of dashboards (https://miro.com/app/dashboard/). However, when I try to access the dashboards using the API (https://api.miro.com/v2/boards), the recent-most board seems to be missing. Even in the api reference playground (https://developers.miro.com/reference/get-boards), when I try to make the get request, it only returns 2 boards, while have 3 (as visible in https://miro.com/app/dashboard/) This has been happening for quite some time now. Please help!
Hi
Note that you only get results instantaneously when you filter by the team_id
, project_id
Are you using those filters by any chance? If not, how long are you waiting between creating the board and calling the API?
At least an hour
BTW, can you point me to the resource to get these ids (team_id and project_id)? I cant seem to find myself. I am on my free account.
Hey
If you’re on a free plan, you can get the team_id from the UI in your browser URL. First, navigate to your team profile/settings. Then, note the ID that is in this part of the URL—this is the team ID:
If you add the team_id query param with this value for your team, this should return all boards. Can you let me know if this works for you?
Thanks!
Yes this work, thanks!
A follow up question - is it possible to get the team_id during the OAuth process itself?
Glad to hear that,
And yes, you can retrieve the value for Team ID during the OAuth process. It’s accessible via the GET Access Token Context endpoint:
https://developers.miro.com/reference/get-access-token-context
I hope it helps!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.