I was trying to play with the Figma API for a side project, and I was wondering if there's any way to access the files, the projects, or the teams for a specific user (after OAuth).
I can't find any endpoint that seems to do that on the docs. There's an endpoint that allows to retrieve all the projects for a specific team ID, the problem is that I have no idea how to get this team ID if I don't get any information on the user after the OAuth. If anyone has any idea, that would be very much appreciated!
Endpoints allow you to request files, images, file versions, users, comments, team projects and project files. Once granted access, you can use the Figma API to inspect a JSON representation of the file. Every layer or object in a file will be represented within the file by a node (subtree).
Supported on any team or plan. Members of Starter teams can only view 30 days of a file's version history. Members of Professional and Education team or Figma Organizations can access a file's entire version history.
I don't think that feature is available yet, their documentation just covers retrieving basic information (id, handle, img_url, email) about a single user and not the files they have worked on, projects or teams they belonged to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With