figma_rest_api
Call Figma REST API directly to export files, manage comments, and access version history, image fills, team or project listings.
Instructions
Call Figma REST API directly. Requires a token set via figma_set_rest_token. Use for: file export (SVG/PNG), comments, version history, team/project listing, image fills, and anything not available through the plugin bridge. Endpoint examples: GET /v1/files/:fileKey, GET /v1/images/:fileKey, GET /v1/files/:fileKey/comments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT requests | |
| method | No | HTTP method | GET |
| endpoint | Yes | REST API path, e.g. '/v1/files/abc123' or '/v1/me' |