Add a reaction to a comment
Add a reaction to a comment
Create a webhook
Create a webhook
Create modify delete variables
Create modify delete variables
Delete a comment
Delete a comment
Get current user
Get current user
Delete a reaction
Delete a reaction
Create dev resources
Create dev resources
file key
that cannot be found. - the node already has the maximum of 10 dev resources. - another dev resource for the node has the same url.Add a comment to a file
Add a comment to a file
Get component
Get component
Get dev resources
Get dev resources
Get files in a project
Get files in a project
Get comments in a file
Get comments in a file
Delete a webhook
Delete a webhook
Get file component sets
Get file component sets
Get component set
Get component set
Get file styles
Get file styles
Get current user
Get current user
Get file components
Get file components
Get library analytics component usage data
Get library analytics component usage data
Get file json
Get file json
file key
as a json object. the file key can be parsed from any figma file url: https://www.figma.com/file/\{file key\}/\{title\}
. the document
property contains a node of type document
. the components
property contains a mapping from node ids to component metadata. this is to help you determine which components each instance comes from.Get library analytics variable usage data
Get library analytics variable usage data
Delete dev resource
Delete dev resource
Get payments
Get payments
Get library analytics variable action data
Get library analytics variable action data
Get image fills
Get image fills
imageref
attribute in a paint
.Get projects in a team
Get projects in a team
Get library analytics style usage data
Get library analytics style usage data
Get style
Get style
Get library analytics style action data
Get library analytics style action data
Get reactions for a comment
Get reactions for a comment
Get file json for specific nodes
Get file json for specific nodes
Get activity logs
Get activity logs
Get local variables
Get local variables
get /v1/files/:file key/variables/local
endpoint lets you enumerate local variables created in the file and remote variables used in the file. remote variables are referenced by their subscribed id
. as a part of the variables related api additions, the get /v1/files/:file key
endpoint now returns a boundvariables
property, containing the variableid
of the bound variable. the get /v1/files/:file key/variables/local
endpoint can be used to get the full variable or variable collection object. note that get /v1/files/:file key/variables/published
does not return modes. instead, you will need to use the get /v1/files/:file key/variables/local
endpoint, in the same file, to examine the mode values.Get published variables
Get published variables
get /v1/files/:file key/variables/published
endpoint returns the variables that are published from the given file. the response for this endpoint contains some key differences compared to the get /v1/files/:file key/variables/local
endpoint: - each variable and variable collection contains a subscribed id
. - modes are omitted for published variable collections published variables have two ids: an id that is assigned in the file where it is created (id
), and an id that is used by subscribing files (subscribed id
). the id
and key
are stable over the lifetime of the variable. the subscribed id
changes every time the variable is modified and published. the same is true for variable collections. the updatedat
fields are iso 8601 timestamps that indicate the last time that a change to a variable was published. for variable collections, this timestamp will change any time a variable in the collection is changed.Get team component sets
Get team component sets
Get a webhook
Get a webhook
Get library analytics component action data
Get library analytics component action data
Get team components
Get team components
Get webhook requests
Get webhook requests
Get team webhooks
Get team webhooks
Render images of file nodes
Render images of file nodes
"images"
will be populated with a map from node ids to urls of the rendered images, and "status"
will be omitted. the image assets will expire after 30 days. images up to 32 megapixels can be exported. any images that are larger will be scaled down. important: the image map may contain values that are null
. this indicates that rendering of that specific node has failed. this may be due to the node id not existing, or other reasons such has the node having no renderable components. it is guaranteed that any node that was requested for rendering will be represented in this map whether or not the render succeeded. to render multiple images from the same file, use the ids
query parameter to specify multiple node ids. get /v1/images/:key?ids=1:2,1:3,1:4
Update dev resources
Update dev resources
links updated
array in the response. if there are any dev resources that cannot be updated, you may still get a 200 response. these resources will show up in the errors
array.Get versions of a file
Get versions of a file
Get team styles
Get team styles
Update a webhook
Update a webhook