Suggestion: API endpoint for :team_id

I second this. I’m new to the Figma API and I’m baffled that there doesn’t seem to be a way of getting a list of all teams, projects or files for a user who have authenticated with OAuth without having to first manually find the team ID via the URL.

There need to be a way of performing this flow:

  1. Authenticate with OAuth
  2. Get a list of teams/projects/files via the API with the access token
  3. List teams/projects/files in the 3rd party application so the user can choose
  4. Call API to get information about a specific file the user have selected

There doesn’t seem to be any API endpoint like /v1/files/all, v1/projects/all, v1/teams/all or something?

Figma, any progress on this?

4 Likes