Figma
Learn how to use Figma with Composio
Overview
Enum
FIGMA
Description
A collaborative interface design tool.
Authentication Details
OAUTH2
Actions
FIGMA_ADD_A_REACTION_TO_A_COMMENT
Posts a new comment reaction on a file comment.
Action Parameters
Action Response
FIGMA_GET_WEBHOOK_REQUESTS
Returns all webhook requests sent within the last week. useful for debugging.
Action Parameters
Action Response
FIGMA_GET_LOCAL_VARIABLES
The api for enterprise members enables listing of local and remote variables in files and adds boundvariables
to file details. it uses the same endpoint for variable details and modes, excluding published
modes.
Action Parameters
Action Response
FIGMA_GET_PROJECTS_IN_A_TEAM
This endpoint lists all projects within a specified team, visible only to the authenticated user or token owner. however, obtaining a team id programmatically with a token is not possible; it requires navigating to a team page url.
Action Parameters
Action Response
FIGMA_DELETE_A_COMMENT
Deletes a specific comment. only the person who made the comment is allowed to delete it.
Action Parameters
Action Response
FIGMA_GET_TEAM_COMPONENT_SETS
Get a paginated list of published component sets within a team library.
Action Parameters
Action Response
FIGMA_GET_FILE_STYLES
Get a list of published styles within a file library.
Action Parameters
Action Response
FIGMA_GET_COMPONENT_SET
Get metadata on a component set by key.
Action Parameters
Action Response
FIGMA_GET_A_WEBHOOK
Get a webhook by id.
Action Parameters
Action Response
FIGMA_DELETE_A_REACTION
Deletes a specific comment reaction. only the person who made the reaction is allowed to delete it.
Action Parameters
Action Response
FIGMA_DELETE_DEV_RESOURCE
Delete a dev resource from a file
Action Parameters
Action Response
FIGMA_GET_FILES_IN_A_PROJECT
Get a list of all the files within the specified project.
Action Parameters
Action Response
FIGMA_GET_COMPONENT
Get metadata on a component by key.
Action Parameters
Action Response
FIGMA_ADD_A_COMMENT_TO_A_FILE
Posts a new comment on the file.
Action Parameters
Action Response
FIGMA_RENDER_IMAGES_OF_FILE_NODES
Renders images from a file, outputs node ids to image urls map; errors omitted. supports up to 32 megapixels, scales down larger images, assets expire in 30 days. null values in map indicate failed renderings. use ids
parameter for multiple renders.
Action Parameters
Action Response
FIGMA_GET_PUBLISHED_VARIABLES
The get /v1/files/:file key/variables/published
api, for enterprise org members, fetches published variables, showing id
, subscribed id
(changes on modification), omitting modes for collections, and updates updatedat
for changes.
Action Parameters
Action Response
FIGMA_GET_VERSIONS_OF_A_FILE
This endpoint fetches the version history of a file, allowing you to see the progression of a file over time. you can then use this information to render a specific version of the file, via another endpoint.
Action Parameters
Action Response
FIGMA_GET_DEV_RESOURCES
Get dev resources in a file
Action Parameters
Action Response
FIGMA_GET_TEAM_COMPONENTS
Get a paginated list of published components within a team library.
Action Parameters
Action Response
FIGMA_GET_FILE_JSON
Retrieves a json document using ‘file key’ from a figma url. it includes a ‘document’ node of type ‘document’ and a ‘consider components’ mapping node ids to component metadata for source identification.
Action Parameters
Action Response
FIGMA_GET_IMAGE_FILLS
This api endpoint generates download links for user-uploaded images in figma documents, which are represented as fills in shapes. links, tied to image references from the get files output, expire within 14 days.
Action Parameters
Action Response
FIGMA_GET_STYLE
Get metadata on a style by key.
Action Parameters
Action Response
FIGMA_GET_COMMENTS_IN_A_FILE
Gets a list of comments left on the file.
Action Parameters
Action Response
FIGMA_GET_CURRENT_USER
Returns the user information for the currently authenticated user.
Action Parameters
Action Response
FIGMA_DELETE_A_WEBHOOK
Deletes the specified webhook. this operation cannot be reversed.
Action Parameters
Action Response
FIGMA_GET_FILE_COMPONENT_SETS
Get a list of published component sets within a file library.
Action Parameters
Action Response
FIGMA_GET_ACTIVITY_LOGS
Returns a list of activity log events
Action Parameters
Action Response
FIGMA_GET_FILE_COMPONENTS
Get a list of published components within a file library.
Action Parameters
Action Response
FIGMA_CREATE_DEV_RESOURCES
The text outlines a method for mass-producing dev resources, tracking successes in the links created array and noting failures—due to missing file key, resource limit, or url duplication—in the errors array.
Action Parameters
Action Response
FIGMA_CREATE_MODIFY_DELETE_VARIABLES
The post /v1/files/:file key/variables
endpoint lets enterprise members bulk manage variables & collections, including creation, update, and deletion, with specific rules. requests must be less than 4mb and use temporary ids.
Action Parameters
Action Response
FIGMA_GET_TEAM_WEBHOOKS
Returns all webhooks registered under the specified team.
Action Parameters
Action Response
FIGMA_GET_TEAM_STYLES
Get a paginated list of published styles within a team library.
Action Parameters
Action Response
FIGMA_GET_FILE_JSON_FOR_SPECIFIC_NODES
Fetches nodes from a figma file using ids
and returns them in json with metadata, permissions, and optional vector data. details on documents and components included; nulls for non-existent ids.
Action Parameters
Action Response
FIGMA_GET_REACTIONS_FOR_A_COMMENT
Gets a paginated list of reactions left on the comment.
Action Parameters
Action Response
FIGMA_UPDATE_DEV_RESOURCES
Bulk update dev resources across files updates ids in links updated
if successful. unupdatable resources appear in errors
, but may still return a 200 response.
Action Parameters
Action Response
FIGMA_GET_PAYMENTS
Two methods exist for querying user payment info in plugins, widgets, or community files: using plugin payment tokens or providing user and resource ids. queries are limited to resources owned by the querier.
Action Parameters
Action Response
FIGMA_GET_ME
Returns the user information for the currently authenticated user.(DEPRECATED use get_current_user)
Action Parameters
Action Response
FIGMA_CREATE_A_WEBHOOK
Create a webhook to call an endpoint upon an event. it sends a ping upon creation, but you can pause it during creation and reactivate it when desired.
Action Parameters
Action Response
FIGMA_UPDATE_A_WEBHOOK
Update a webhook by id.
Action Parameters
Action Response