provider Styles GET /v1/files/{file_key}/styles
@utdk/figma /v1/files/{file_key}/styles
Get file styles
Get a list of published styles within a file library.
file_key path required
File to list styles from. This must be a main file key, not a branch key, as it is not possible to publish from branches.
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.

getfilestyles
GET/v1/files/{file_key}/styles
Get a list of published styles within a file library.

Parameters

required

File to list styles from. This must be a main file key, not a branch key, as it is not possible to publish from branches.

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.getfilestyles()