Figma Variables API

Interact with variables in an Enterprise organization.

Operations 3

GET /v1/files/{file_key}/variables/local Get local variables #
GET /v1/files/{file_key}/variables/published Get published variables #
POST /v1/files/{file_key}/variables Create/modify/delete variables #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-get-team-webhooks-response-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-webhook-v2-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-webhook-v2-event-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-webhook-v2-status-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-error-response-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-forbidden-error-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-internal-server-error-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-not-found-error-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-teams-too-many-requests-error-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-error-response-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-get-me-response-body-schema.json
📊
JSONStructure
https://artifacts.apis.io/figma/json-structure/figma-get-me-response-body-structure.json
📊
JSONStructure
https://artifacts.apis.io/figma/json-structure/figma-error-response-payload-structure.json
📊
JSONStructure
https://artifacts.apis.io/figma/json-structure/figma-user-structure.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-nodes-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-images-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-image-fills-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-versions-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-comments-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-post-comment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-reactions-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-team-components-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-components-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-component-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-team-component-sets-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-team-styles-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-team-projects-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-project-files-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-error-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-branch-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-canvas-node-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-client-meta-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-color-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-comment-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-component-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-document-node-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-documentation-link-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-frame-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-pagination-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-project-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-project-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-published-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-published-component-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-published-style-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-reaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-style-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-success-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-version-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-get-library-analytics-usages-response-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-usages-by-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-usages-by-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-actions-by-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-actions-by-team-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-style-usages-by-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-style-usages-by-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-variable-usages-by-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-variable-usages-by-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-error-response-payload-schema.json

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/figma:figma-variables-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

figma-variables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Figma Variables API
  version: 0.45.0
  description: 'This is the OpenAPI specification for the Figma REST API.


    Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API. If you notice any inaccuracies with the specification, please file an issue.'
  termsOfService: https://www.figma.com/developer-terms/
  contact:
    email: support@figma.com
servers:
- url: https://api.figma.com
tags:


# --- truncated at 32 KB (43 KB total) ---
# Full source: https://artifacts.apis.io/figma/openapi/figma-variables-api-openapi.yml