Aprovan Registry
provider 47 operations 15 docs pages
@utdk/figma
Figma API

Generated UTDK provider client for Figma API. 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.

Import sample

import figma from "@utdk/figma"

Factory sample

import { createFigmaClient } from "@utdk/figma"
Provider path
figma
Source API title
Figma API
Version
0.37.0
Generated
Apr 8, 2026, 3:35 PM
Homepage
Open site
API spec
View spec
Users
Optional generated docs page for @utdk/figma.

Users

Use these operations through the generated client (not direct HTTP calls).

Import path: @utdk/figma

Operations

figma.getMe

  • HTTP: GET /v1/me
  • What it does: Get current user
  • OpenAPI operationId: getMe
  • Path params: None
  • Query params: None
  • Response codes: 200, 403, 429, 500
  • Transport options: None
  • Source: OpenAPI reference
  • TypeScript: Client interface

Inputs

  • Client input type: { [key: string]: unknown }
  • Client transport options: None

Outputs

  • Client return type: { [key: string]: unknown }
  • OpenAPI response codes: 200, 403, 429, 500
import figma from "@utdk/figma";

type GetMeInput = Parameters<typeof figma.getMe> extends [infer T, ...unknown[]] ? T : undefined;
type GetMeOutput = Awaited<ReturnType<typeof figma.getMe>>;

const result: GetMeOutput = await figma.getMe();

// Result shape (from schema): { [key: string]: unknown }