Figma integration (Design, Productivity). Imported from open-connector.
https://api.figma.com/v1/me
/v1/files/{fileKey}/meta
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
/v1/files/{fileKey}
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| version | string | optional | A specific Figma file version ID to read. |
| nodeIds | array | optional | Figma node IDs to fetch or render, for example `1:2` or `123:456`. |
| depth | integer | optional | The maximum depth of the document tree to return from Figma. |
| geometry | string | optional | Whether Figma should include vector path geometry. |
| pluginData | array | optional | Plugin IDs whose plugin data Figma should include. |
| branchData | boolean | optional | Whether Figma should include branch metadata in the response. |
/v1/files/{fileKey}/nodes
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| nodeIds | array | required | Figma node IDs to fetch or render, for example `1:2` or `123:456`. |
| version | string | optional | A specific Figma file version ID to read. |
| depth | integer | optional | The maximum depth of the document tree to return from Figma. |
| geometry | string | optional | Whether Figma should include vector path geometry. |
| pluginData | array | optional | Plugin IDs whose plugin data Figma should include. |
/v1/images/{fileKey}
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| nodeIds | array | required | Figma node IDs to fetch or render, for example `1:2` or `123:456`. |
| version | string | optional | A specific Figma file version ID to read. |
| scale | number | optional | The image scale factor supported by Figma. |
| format | string | optional | The image format Figma should render. |
| svgIncludeId | boolean | optional | Whether SVG exports should include Figma node IDs. |
| svgSimplifyStroke | boolean | optional | Whether SVG exports should simplify inside and outside strokes. |
| useAbsoluteBounds | boolean | optional | Whether Figma should use full node bounds when rendering. |
/v1/files/{fileKey}/images
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
/v1/files/{fileKey}/versions
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| pageSize | integer | optional | The maximum number of versions to request from Figma. |
| before | string | optional | A pagination cursor requesting versions before this cursor. |
| after | string | optional | A pagination cursor requesting versions after this cursor. |
/v1/files/{fileKey}/comments
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
/v1/files/{fileKey}/comments/{commentId}
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| commentId | string | required | The Figma comment ID. |
/v1/files/{fileKey}/comments/{commentId}/reactions
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| commentId | string | required | The Figma comment ID. |
| cursor | string | optional | A pagination cursor returned by Figma. |
/v1/files/{fileKey}/comments/{commentId}/reactions
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| commentId | string | required | The Figma comment ID. |
| emoji | string | required | The emoji reaction shortcode to add or delete. |
/v1/files/{fileKey}/comments/{commentId}/reactions
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The Figma file key or branch key from a Figma file URL. |
| commentId | string | required | The Figma comment ID. |
| emoji | string | required | The emoji reaction shortcode to add or delete. |
/v1/teams/{teamId}/projects
| Param | Type | Required | Description |
|---|---|---|---|
| teamId | string | required | The Figma team ID from a Figma team URL. |
/v1/projects/{projectId}/meta
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | required | The Figma project ID. |
/v1/projects/{projectId}/files
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | required | The Figma project ID. |
| branchData | boolean | optional | Whether Figma should include branch metadata for files. |
/v1/files/{fileKey}/components
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The main Figma file key from a Figma file URL. |
/v1/files/{fileKey}/component_sets
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The main Figma file key from a Figma file URL. |
/v1/files/{fileKey}/styles
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The main Figma file key from a Figma file URL. |
/v1/components/{key}
| Param | Type | Required | Description |
|---|---|---|---|
| key | string | required | The unique Figma library asset key. |
/v1/component_sets/{key}
| Param | Type | Required | Description |
|---|---|---|---|
| key | string | required | The unique Figma library asset key. |
/v1/styles/{key}
| Param | Type | Required | Description |
|---|---|---|---|
| key | string | required | The unique Figma library asset key. |
/v1/files/{fileKey}/dev_resources
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The main Figma file key from a Figma file URL. |
| nodeIds | array | optional | Figma node IDs to fetch or render, for example `1:2` or `123:456`. |
/v1/dev_resources
| Param | Type | Required | Description |
|---|---|---|---|
| devResources | array | required | The dev resources to create. |
/v1/dev_resources
| Param | Type | Required | Description |
|---|---|---|---|
| devResources | array | required | The dev resources to update. |
/v1/files/{fileKey}/dev_resources/{devResourceId}
| Param | Type | Required | Description |
|---|---|---|---|
| fileKey | string | required | The main Figma file key from a Figma file URL. |
| devResourceId | string | required | The Figma dev resource ID to delete. |