Agent Interface
REST API v1Plugin APIWebhooksDev Mode API
What an agent can do
- ✓Read file structure, components, and styles
- ✓Export frames and components as images (PNG, SVG, PDF)
- ✓List and read comments on design files
- ✓Access design tokens and variables
- ✓Subscribe to file change events via webhooks
- ✓Read Dev Mode annotations and measurements
What it can't do
- ✗Create or modify designs via REST API (read-only for file content)
- ✗Programmatically run Figma plugins from external agents
- ✗Access FigJam board content via REST API
- ✗Manage team or organization billing settings
- ✗Write to design files without the Plugin API context
Auth Model
OAuth 2.0Personal Access Token
Builder Notes
REST API is strong for reading design data but cannot write to files. Design-to-code agents typically use the export endpoints + variables API. Plugin API enables richer interactions but runs inside Figma. Webhooks fire on file changes, comments, and library publishes.
Sources
Last verified: 2026-03-15