-
Notifications
You must be signed in to change notification settings - Fork 130
New Integration: Figma #465
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersintegrationnew-featurenew-integration
Milestone
Description
Description
Add Figma integration to sync design files, comments, and project activity into CORE.
Reference Implementations
Existing Integrations (use as templates)
integrations/github/- Similar webhook and event-based systemintegrations/linear/- Project management integrationintegrations/slack/- For reference on comment/notification syncing
Required Files Structure
integrations/figma/
├── src/
│ ├── index.ts # Main entry, OAuth spec
│ ├── schedule.ts # Sync logic
│ ├── utils.ts # Figma API utilities
│ ├── account-create.ts # OAuth setup
│ └── create-activity.ts # Activity formatting
├── package.json
├── tsup.config.ts
└── README.md
Figma API Integration
OAuth Setup
- Use OAuth 2.0 (Authorization Code flow)
- Base URL:
https://api.figma.com - Required scopes:
file_content:read- Read access to file content (replaces deprecatedfiles:read)file_comments:read- Read access to file commentsfile_comments:write- Write access to file commentsfile_dev_resources:read- Read access to dev resourceswebhooks:write- Manage webhooks for real-time updates
Key Endpoints
GET /v1/files/:file_key- Get file dataGET /v1/files/:file_key/comments- Get file commentsGET /v1/files/:file_key/versions- Get file version historyGET /v1/teams/:team_id/projects- List team projectsGET /v1/projects/:project_id/files- List project filesPOST /v2/webhooks- Create webhooks for real-time eventsGET /v1/files/:file_key/images- Export images from files
Rate Limits
- Updated rate limits as of November 2025
- OpenAPI specification available at
figma/rest-api-specGitHub repository
Events to Track
- File Activity - File created, updated, renamed, deleted
- Comments - Comment created, replied to, resolved, deleted
- Version History - New versions published
- Team Activity - Files added/removed from projects
- Component Updates - Components published or updated in libraries
Implementation Tasks
- Set up basic integration structure following
integrations/github/src/index.tspattern - Implement OAuth 2.0 flow in
account-create.ts(note: new OAuth app publishing requirements as of Nov 2025) - Create API utilities in
utils.tswith updated scopes (file_content:readinstead of deprecatedfiles:read) - Implement sync logic in
schedule.tsfor files, comments, and versions - Set up webhook handling for real-time file and comment events
- Convert Figma events to CORE activity format
- Add error handling and rate limiting
- Create integration documentation
- Add to
integrations/README.md
Technical Notes
- Figma REST API uses
https://api.figma.comas the base URL - Full OpenAPI spec available in the
figma/rest-api-specGitHub repository for type generation - The
files:readscope is deprecated; use specific scopes likefile_content:readandfile_comments:read - Webhook support available for real-time event notifications
- PNG export quality bug was fixed on January 26, 2026
Resources
- Figma REST API Documentation
- Figma REST API Changelog
- Figma OpenAPI Spec (GitHub)
- Figma Rate Limits
- Figma Developer Docs
Labels
enhancement, integration, new-feature
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersintegrationnew-featurenew-integration
Type
Projects
Status
Review