---
title: "Upload And Analyze Figma Frame"
method: POST
path: "/figma/upload"
tags: ["figma"]
---

# Upload And Analyze Figma Frame

`POST /figma/upload`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/figma/upload`
- Auth: API key in header `X-Figma-Token`

## Request body `multipart/form-data`

- BodyUploadAndAnalyzeFigmaFrameFigmaUploadPost
  - `file` string, binary, required
  - `preset_id` string[], required
  - `collateral_type` 'Agent Call Flow' | 'Audio' | 'Billboard' | 'Communications' | 'Conversation Design' | 'Email' | 'Help Center Article' | 'In-App' | 'Mailer' | 'Organic Social' | 'Paid Advertising' | 'Paid Search' | 'Paid Social' | 'Press Release' | 'Procedure/Decision Tree' | 'Support Agent Training' | 'TV' | 'Web' | 'Wiki' | 'Other', required
  - `context_files` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
