Skip to main content
Question

Import JSON Figma file from the /v1/files/:id API

  • January 16, 2022
  • 2 replies
  • 2108 views

Benoit_Jeaurond

Currently the API returns a JSON response presumably containing the Figma file.

Is there any way to either:

  1. Import the response in Figma UI
  2. Convert the response to a compatible import file for Figma UI
  3. Create a new file from the API with the response

I’m attempting on creating some kind of backup system, as a side project.

2 replies

Gleb
  • Power Member
  • 4708 replies
  • January 16, 2022
  1. Possible with the Figma plugins API (but there is no built in conversion function for that, you’ll need to find or write one on your own).

  2. Not possible natively, but if you reverse-engineer a Figma file contents, you might be able to generate one yourself.

  3. Not possible.


Benoit_Jeaurond

Thank you for the response 🙂

I can understand why it is not something possible, but I will look more into the Figma plugins API! I wasn’t aware that there is another set of APIs


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings