provider Styles GET /v1/teams/{team_id}/styles
@utdk/figma /v1/teams/{team_id}/styles
Get team styles
Get a paginated list of published styles within a team library.
team_id path required
Id of the team to list styles from.
string
page_size query
Number of items to return in a paged list of results. Defaults to 30.
number
after query
Cursor indicating which id after which to start retrieving styles for. Exclusive with before. The cursor value is an internally tracked integer that doesn't correspond to any Ids.
number
before query
Cursor indicating which id before which to start retrieving styles for. Exclusive with after. The cursor value is an internally tracked integer that doesn't correspond to any Ids.
number

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.

getteamstyles
GET/v1/teams/{team_id}/styles
Get a paginated list of published styles within a team library.

Parameters

required

Id of the team to list styles from.

Number of items to return in a paged list of results. Defaults to 30.

Cursor indicating which id after which to start retrieving styles for. Exclusive with before. The cursor value is an internally tracked integer that doesn't correspond to any Ids.

Cursor indicating which id before which to start retrieving styles for. Exclusive with after. The cursor value is an internally tracked integer that doesn't correspond to any Ids.

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.getteamstyles({
  "page_size": 30
})