Unify Integrations
Logo
Figma

Figma

Logo

4 mins READ

Figma is a collaborative web application for interface design, with additional offline features enabled by desktop applications for macOS and Windows. The feature set of Figma focuses on user interface and user experience design, with an emphasis on real-time collaboration, utilising a variety of vector graphics editor and prototyping tools.

Connecting your application to a Figma account enables integration for various Figma workspace functionalities. 

Authentication 

Before you begin, make sure you have the following information:

  • Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings. It could be something descriptive like "MyAppFigmaIntegration".

  • Authentication Type: Select one of the options in the connection form: Personal access token (PAT), OAuth or OAuth with client configuration.

OAuth

Select OAuth, optionally choose the Scopes you want to grant, and click Authorize. A pop-up opens where you sign in to Figma and allow access. No client details are needed.

OAuth with client configuration

Use this option to connect through your own Figma app.

  1. Create an app at https://www.figma.com/developers/apps.

  2. In UnifyApps, select OAuth with client configuration and copy the Callback URL shown in the connection form.

  3. In your Figma app's OAuth settings, add the Callback URL as a redirect URL.

  4. Copy the Client ID and Client secret of your Figma app and paste them into the Client ID and Client secret fields.

  5. Select the Scopes you want to grant, then click Authorize. A pop-up opens with the permissions UnifyApps needs; allow access to finish.

Frame 4704.png
Frame 4704.png
Frame 4708.png
Frame 4708.png
Frame 4706.png
Frame 4706.png
Frame 4709.png
Frame 4709.png

Personal access token (PAT)

In Figma, go to Help and account > Account settings and create a personal access token in the Personal access tokens section, with the scopes and expiration time you need. In UnifyApps, select Personal access token (PAT) and paste the token into the Personal Access Token (PAT) field.

Frame 4707.png
Frame 4707.png
Frame 4705.png
Frame 4705.png

Granular Permissions 

OAuth scopes

The Scopes list in the connection form offers these scopes:

OAuth Scope

Description

current_user:read

Read your name, email and profile image.

file_comments:read

Read comments in files.

file_comments:write

Post and delete comments and reactions in files.

file_content:read

Read the contents of files, such as nodes and the editor type.

file_dev_resources:read

Read dev resources in files.

file_dev_resources:write

Write to dev resources in files.

file_metadata:read

Read metadata of files.

file_variables:read

Read variables in files. Available only to members of Enterprise organizations.

file_variables:write

Write to variables in files. Available only to members of Enterprise organizations.

file_versions:read

Read the version history of files.

library_analytics:read

Read your design system analytics.

library_assets:read

Read data of individual published components and styles.

library_content:read

Read published components and styles of files.

org:activity_log_read

Read activity logs for your organization.

org:developer_log_read

Read developer logs for your organization.

org:discovery_read

Read discovery data for your organization.

project_metadata:read

Read metadata of projects.

projects:read

List projects and the files in them.

selections:read

Read selections in files.

team_library_content:read

Read published components and styles of teams.

Actions

Name

Description

Create a comment

Creates a comment in Figma

Create a comment reaction

Creates a comment reaction in Figma

Delete a comment

Deletes a comment in Figma

Get file

Gets file information by ID

Get file metadata

Gets a file's metadata in Figma

Get file nodes

Gets file nodes information by ID in Figma

Get image fills

Gets image fills in Figma

Get image from a file

Gets an image from a file in Figma

Get metadata style

Gets a metadata style in Figma

Get project files

Gets project files in Figma

Get team projects

Gets team projects in Figma

Get users

Gets users in Figma

List comment reactions

Lists comment reactions in Figma

List file component sets

Lists file component sets in Figma

List file components

Lists file components in Figma

List file styles

Lists file styles in Figma

List metadata component

Lists metadata component in Figma

List metadata component set

Lists metadata component set in Figma

List team component sets

Lists team component sets in Figma

List team components

Lists team components in Figma

List team styles

Lists team styles in Figma

Search file

Searches files within a team's project by name and returns the matching file keys

Search project

Searches projects in a team by name and returns the matching project IDs