Suggestion: API endpoint for :team_id

Hey,

Is there any idea if getting the team id of a user just from a token will be implemented any time soon?

Or if someone knows a different way to obtain that info?

20 Likes

Afaik, that is still a manual process. Seems wierd to me though, like a broken user flow. Maybe the reason is extra manual step to ensure consious sharing of information.

Really strange that you can’t do this.

Such a basic feature is a must!

The user will provide the access token either manually or via OAuth… and that’s enough to ensure their consent. Asking them to get the team ID manually (good luck describing how) is just a terrible user experience.

1 Like

+1 - I describe this process of getting the team id for a Figma integrated app I’ve built. Close to half the users are pasting the wrong thing (usually a file link instead of team). It’s way too confusing and too much effort for a user to have to do this as one of the first tasks on signup. I hope Figma adds OAuth scopes so the user can choose how much they want to share when they authenticate.

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

+1 for this! This would be especially helpful for our Enterprise organization

+1 I need this so badly. Come on Figma, come to the party.

+1 This feature will help with figma integration to another services

+1 We also need this feature

1 Like

+1 for this feature. We need it badly.

Want to support this idea as well.

This seems to be one of the single barriers between allowing full use of the REST API via and application integration using oauth2. If this was available, once a user has given oauth access to the third party application, the application would be able to display them their projects and files to select what they would like to import instead of having to copy over a url or providing the team_id manually.

Is this something Figma is thinking about adding or are their security reasons this is not being provided?

1 Like

+1 on this. Much needed

+1 as well for this, and/or for a list of projects that a user has access to.

I would love to add my voice to all the people who are requesting this feature! Either that, or an ability to list the projects a user has access to.

It’s absolutely going to significantly complicate our sign up flow having users need to paste the team id in.

+1 for this feature. We need it badly as well. To be able to provide an acceptable end user experience for integrations around webhooks on team level

Any idea when this will be implemented/supported?
Or are there any reasons of not supporting it?

@Figma_Support
do you mind replying to the comment of @Kurt_I_Gronbech? Suggestion: API endpoint for :team_id - #6 by Kurt_I_Gronbech

It makes it pretty hard to develop applications without the possibility to fetch lists. I would really appreciate a comment on this to either continue or drop the efforts to build an application on top of Figma.

1 Like

Figma - this is still badly needed, please help!

1 Like

Yes it is. I can’t fathom why this isn’t an endpoint except that they know that if they did their traffic would grow a ton and it would cost them.