Skip to main content

Hi
My app will use enterprise API
I wonder how should I refer to particular team in my requests if my app will be installed for whole organization. For example I would like to list boards of each team.

Can I use team id’s listed with GET /teams to dynamically change the team I need to refer to?

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


Reply