---
title: "🔒 #26638 Проверить ссылку на файл дизайна Figma для продукта или версии: файл дизайна и доступен интеграции компании. Возвращает название файла в Figma."
method: POST
path: "/design/file/check"
tags: ["Design"]
---

# 🔒 #26638 Проверить ссылку на файл дизайна Figma для продукта или версии: файл дизайна и доступен интеграции компании. Возвращает название файла в Figma.

`POST /design/file/check`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/design/file/check`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

#26638 Проверить ссылку на файл дизайна Figma для продукта или версии: файл дизайна и доступен интеграции компании. Возвращает название файла в Figma.

**Access:** `authorized` (10 ) · **Scope:** `read`

**Allows:** `product:update`, `version:update` (все обязательны; проверка в команде по ресурсу из запроса)

### TypeScript (copy-paste)

**`POST /design/file/check`**

<details open><summary><b>Body</b></summary>

```typescript
export interface DesignFileCheckBody {
  url: string
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type DesignFileCheckResponse = IServerResponse<DesignFileCheck>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Request body

- DesignFileCheckBody: JSON body for `design/file/check`
  - `url` string, required

## Response `200`

OK — `IServerResponse<DesignFileCheck>`

- object
  - `code` integer, required
  - `data` DesignFileCheck, required: Schema DesignFileCheck (inferred from ResponseData AST)
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest / Validation — неверные params/body/headers
- `401`: Unauthorized: Active user session required
- `403`: AccessNotAllowed: Privilege product:update or version:update required
- `406`: TimeResync — расхождение rts с сервером
- `422`: UnprocessableContent: not a Figma link (figma-not-figma-url), not a design file (figma-not-design-file), the company Figma account cannot access the file (figma-file-inaccessible) or Figma is not connected (figma-not-connected)

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
