provider Dev Resources GET /v1/files/{file_key}/dev_resources
@utdk/figma /v1/files/{file_key}/dev_resources
Get dev resources
Get dev resources in a file
file_key path required
The file to get the dev resources from. This must be a main file key, not a branch key.
string
node_ids query
Comma separated list of nodes that you care about in the document. If specified, only dev resources attached to these nodes will be returned. If not specified, all dev resources in the file will be returned.
string

Try it

Authentication
Configure credentials for Figma API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getdevresources
GET/v1/files/{file_key}/dev_resources
Get dev resources in a file

Parameters

required

The file to get the dev resources from. This must be a main file key, not a branch key.

Comma separated list of nodes that you care about in the document. If specified, only dev resources attached to these nodes will be returned. If not specified, all dev resources in the file will be returned.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import figma from '@utdk/figma';

await figma.getdevresources()