Figma Files API is one of 18 APIs that Figma publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 21 JSON Schema definitions.
Tagged areas include Dev Resources and File. The published artifact set on APIs.io includes an OpenAPI specification, a JSON-LD context, API documentation, and 21 JSON Schemas.
This API exposes
7 operations
across 7 paths,
and defines 168 schemas.
It is described by OpenAPI 3.2.0, at version 1.0.
Requests are made against a single base URL, https://api.figma.com.
The identity and technical contract details declared by the specification.
User
object
A description of a user.
3 properties
3 required
Interaction
object
An interaction in the Figma viewer, containing a trigger and one or more actions.
2 properties
1 required
HasFramePropertiesTrait
object
20 properties
1 required
ConditionalBlock
object
Either the if or else conditional blocks. The if block contains a condition to check. If that condition is met then it will run those list of actions, else it…
2 properties
1 required
ComponentPropertiesTrait
object
1 property
InstanceSwapPreferredValue
object
Instance swap preferred value.
2 properties
2 required
DocumentationLink
object
Represents a link to documentation for a component or component set.
1 property
1 required
NodeAction
object
An action that navigates to a specific node in the Figma viewer.
9 properties
4 required
ComponentPropertyDefinition
object
A property of a component.
5 properties
2 required
CornerTrait
object
3 properties
Style
object
A set of properties that can be applied to nodes and published. Styles for a property can be created in the corresponding property's panel while editing a file.
5 properties
5 required
ComplexStrokesTrait
object
ShapeType
string
Geometric shape type.
IndividualStrokesTrait
object
1 property
VariableDataType
string
Defines the types of data a VariableData object can hold
ColorStop
object
A single color stop with its position along the gradient axis, color, and bound variables if any
3 properties
2 required
HasEffectsTrait
object
1 property
1 required
Version
object
A version of a file
6 properties
5 required
Constraint
object
Sizing constraint for exports.
2 properties
2 required
Expression
object
Defines the [Expression](https://help.figma.com/hc/en-us/articles/15253194385943) object, which contains a list of VariableData objects strung together by oper…
2 properties
2 required
Easing
object
Describes an easing curve.
3 properties
1 required
ConnectorEndpoint
Stores canvas location for a connector start/end point.
LinkAccess
string
Access policy for users who have the link to the resource.
ComponentProperty
object
A property of a component.
4 properties
2 required
HasMaskTrait
object
3 properties
Hyperlink
object
A link to either a URL or another frame (node) in the document.
3 properties
1 required
VariableAlias
object
Contains a variable alias
2 properties
2 required
MeasurementStartEnd
object
The node and side a measurement is pinned to
2 properties
2 required
EasingType
string
This type is a string enum with the following possible values: - EASEIN: Ease in with an animation curve similar to CSS ease-in. - EASEOUT: Ease out with an an…
Vector
object
A 2d vector.
2 properties
2 required
SimpleTransition
object
Describes an animation used when navigating in a prototype.
3 properties
3 required
ExpressionFunction
string
Defines the list of operators available to use in an Expression.
PrototypeDevice
object
The device used to view a prototype.
4 properties
2 required
HasLayoutTrait
object
27 properties
2 required
VariableResolvedDataType
string
Defines the types of data a VariableData object can eventually equal
VariableData
object
A value to set a variable to during prototyping.
3 properties
BasePaint
object
3 properties
1 required
RGB
object
An RGB color
3 properties
3 required
LayoutConstraint
object
Layout constraint relative to containing Frame
2 properties
2 required
ExportSetting
object
An export setting.
3 properties
3 required
Rectangle
object
A rectangle that expresses a bounding box in absolute coordinates.
4 properties
4 required
RGBA
object
An RGBA color
4 properties
4 required
SlotSettings
object
Slot-specific configuration for a SLOT component property.
5 properties
DirectionalTransition
object
Describes an animation used when navigating in a prototype.
5 properties
4 required
PaintOverride
object
Paint metadata to override default paints.
2 properties
BaseNoiseEffect
object
A noise effect
6 properties
6 required
HasBlendModeAndOpacityTrait
object
2 properties
1 required
HasTextSublayerTrait
object
1 property
1 required
Action
object
An action that is performed when a trigger is activated.
SetVariableModeAction
object
Sets a variable to a specific mode.
3 properties
3 required
SetVariableAction
object
Sets a variable to a specific value.
3 properties
2 required
ConditionalAction
object
Checks if a condition is met before performing certain actions by using an if/else conditional statement.
2 properties
2 required
MeasurementOffsetInner
object
Measurement offset relative to the inside of the start node
2 properties
2 required
IsLayerTrait
object
13 properties
4 required
OnKeyDownTrigger
object
3 properties
3 required
Size
object
A width and a height.
2 properties
2 required
Path
object
Defines a single path
3 properties
2 required
HasExportSettingsTrait
object
1 property
BaseTypeStyle
object
15 properties
Role
string
The role of the user making the API request in relation to the resource.
Navigation
string
The method of navigation. The possible values are: - "NAVIGATE": Replaces the current screen with the destination, also closing all overlays. - "OVERLAY": Open…
TextPathPropertiesTrait
object
5 properties
5 required
ImageFilters
object
Image filters to apply to the node.
7 properties
TextureEffect
object
A texture effect
5 properties
5 required
LayoutGrid
object
Guides to align and place objects within a frames.
9 properties
8 required
SlotContentId
object
Identifier for the content of a slot component property.
1 property
1 required
UpdateMediaRuntimeAction
object
An action that affects a video node in the Figma viewer. For example, to play, pause, or skip.
Transform
array
A transformation matrix is standard way in computer graphics to represent translation and rotation. These are the top two rows of a 3x3 matrix. The bottom row…
TypePropertiesTrait
object
7 properties
6 required
BlendMode
string
This type is a string enum with the following possible values Normal blends: - PASSTHROUGH (only applicable to objects with children) - NORMAL Darken: - DARKEN…
AfterTimeoutTrigger
object
2 properties
2 required
ArcData
object
Information about the arc properties of an ellipse. 0° is the x axis and increasing angles rotate clockwise.
3 properties
3 required
DevStatusTrait
object
1 property
Trigger
object
The "ONHOVER" and "ONPRESS" trigger types revert the navigation when the trigger is finished (the result is temporary). "MOUSEENTER", "MOUSELEAVE", "MOUSEUP" a…
FlowStartingPoint
object
A flow starting point used when launching a prototype to enter Presentation view.
2 properties
2 required
ComponentSet
object
A description of a component set, which is a node containing a set of variants of a component.
5 properties
3 required
ConnectorLineType
string
Connector line type.
BaseShadowEffect
object
Base properties shared by all shadow effects
7 properties
5 required
StyleType
string
The type of style
Measurement
object
A pinned distance between two nodes in Dev Mode
5 properties
4 required
Overrides
object
Fields directly overridden on an instance. Inherited overrides are not included.
2 properties
2 required
ErrorResponsePayloadWithErrMessage
object
A response indicating an error occurred.
2 properties
2 required
OpenURLAction
object
An action that opens a URL.
2 properties
2 required
StrokeWeights
object
Individual stroke weights
4 properties
4 required
MeasurementOffsetOuter
object
Measurement offset relative to the outside of the start node
2 properties
2 required
ResponsePagination
object
If pagination is needed due to the length of the response, identifies the next and previous pages.
2 properties
ComponentPropertyType
string
Component property type.
MinimalFillsTrait
object
2 properties
1 required
TransitionSourceTrait
object
4 properties
HasChildrenTrait
object
1 property
1 required
OnMediaHitTrigger
object
2 properties
2 required
MinimalStrokesTrait
object
5 properties
Component
object
A description of a main component. Helps you identify which component instances are attached to.
6 properties
5 required
TransformModifiersTrait
object
BaseBlurEffect
object
Base properties shared by all blur effects
4 properties
3 required
VariableWidthStrokesTrait
object
User_2
object
A Figma user account.
4 properties
3 required
ErrorResponse
object
Standard error response from the Figma API.
3 properties
3 required
ComponentSet_2
object
A component set groups variants of a component together. Useful for organizing different states or configurations of a design element.
5 properties
3 required
GetFileResponse
object
Response from the Get File endpoint.
13 properties
10 required
GetFileVersionsResponse
object
Response from the Get File Versions endpoint.
2 properties
1 required
CanvasNode_2
object
A canvas (page) in the Figma document.
5 properties
3 required
DocumentationLink_2
object
A link to documentation associated with a component.
1 property
1 required
Style_2
object
A published style that can be applied to nodes in Figma.
5 properties
5 required
GetImageFillsResponse
object
Response from the Get Image Fills endpoint.
3 properties
Branch
object
Information about a branch of a Figma file.
4 properties
4 required
GetFileNodesResponse
object
Response from the Get File Nodes endpoint.
5 properties
4 required
Color
object
An RGBA color value with channels ranging from 0 to 1.
4 properties
4 required
DocumentNode_2
object
The root node of a Figma document.
4 properties
4 required
GetImagesResponse
object
Response from the Get Images endpoint.
2 properties
Version_2
object
A recorded version in the file's version history.
5 properties
5 required
Component_2
object
Metadata about a main component in a Figma file. Components are reusable design elements.
6 properties
5 required
Pagination
object
Cursor-based pagination metadata.
2 properties
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Figma publishes across the network.