# Figma Variables API

**Canonical:** https://apis.io/apis/figma/figma-variables-api/  
**Provider:** Figma — https://apis.io/providers/figma/  
**Base URL:** https://api.figma.com  
**Documentation:** https://developers.figma.com/docs/rest-api/file-endpoints/

Figma Variables API is one of 18 APIs that [Figma](https://apis.io/providers/figma/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification. This API exposes 64 JSON Schema definitions. Tagged areas include Variables. The published artifact set on APIs.io includes an OpenAPI specification, a JSON-LD context, API documentation, an AsyncAPI specification, and 64 JSON Schemas.

Interact with variables in an Enterprise organization.

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| 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 |

## Machine-readable artifacts (78)

- **OpenAPI** — https://artifacts.apis.io/figma/openapi/figma-variables-api-openapi.yml
- **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
- **JSONLD** — https://artifacts.apis.io/figma/json-ld/figma-teams-context.jsonld
- **Documentation** — https://developers.figma.com/docs/rest-api/file-endpoints/
- **AsyncAPI** — https://artifacts.apis.io/figma/asyncapi/figma-webhooks-asyncapi.yml
- **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
- **JSONLD** — https://artifacts.apis.io/figma/json-ld/figma-context.jsonld
- **Documentation** — https://developers.figma.com/docs/rest-api/
- **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
- …and 38 more, listed in full on the page.

## Other Figma APIs (12)

- [Figma Files API](https://apis.io/apis/figma/figma-files-api/)
- [Figma Projects API](https://apis.io/apis/figma/figma-projects-api/)
- [Figma Component Sets API](https://apis.io/apis/figma/figma-component-sets-api/)
- [Figma Activity Logs API](https://apis.io/apis/figma/figma-activity-logs-api/)
- [Figma Payments API](https://apis.io/apis/figma/figma-payments-api/)
- [Figma Dev Resources API](https://apis.io/apis/figma/figma-dev-resources-api/)
- [Figma Comments API](https://apis.io/apis/figma/figma-comments-api/)
- [Figma Components API](https://apis.io/apis/figma/figma-components-api/)
- [Figma Library Analytics API](https://apis.io/apis/figma/figma-library-analytics-api/)
- [Figma Users API](https://apis.io/apis/figma/figma-users-api/)
- [Figma AI Usage API](https://apis.io/apis/figma/figma-ai-usage-api/)
- [Figma Comment Reactions API](https://apis.io/apis/figma/figma-comment-reactions-api/)

## Tags

Variables

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/figma/figma-variables-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/figma/.
