Figma API guide
figma.com
Inspect Figma design files, extract frame details for handoff, and compare design tokens across file versions.
Actions and inputs
files get-fileRetrieve a design file as JSON.
Inputs File key
frame extractExtract a frame’s node tree and optionally include variables and Dev Mode links.
Inputs File key, node IDs, depth, optional inclusions
tokens diffCompare design tokens between two versions of a file.
Inputs File key, source version, target version
Dev Mode resource link on a design node
- Create
Add a Dev Mode resource link to a design node you can edit.
Inputs File key, node ID, link name, URL
- Read
View Dev Mode resource links attached to a design node.
Inputs File key, node ID
- Update
Rename a Dev Mode resource link or change its URL.
Inputs Resource ID, new name or URL
- Delete
Remove a Dev Mode resource link without deleting the design node.
Inputs File key, resource ID