Generating a Figma File from Node

I started using the figma API for the first time today and I was kind of surprised to find there are no endpoints for creating elements, be it documents, frames or shapes.

My goal was to programmatically generate a figma file from Node/Javascript. I was able to successfully interact with the API and load a file I’ve already created.

Maybe this is common knowledge to everyone else / sorry if so. Are there plans to add creation endpoints to the API? Also, are there any other routes I could take to programmatically generating a design file?

Thanks for any direction!

You can use the Plugins API to edit files programmatically.

There is no info on anything like this becoming available in the near future for the REST API.

1 Like