---
title: "🔒 Получение текущей интеграции с Figma."
method: GET
path: "/integration/figma/current"
tags: ["Integrations: Figma"]
---

# 🔒 Получение текущей интеграции с Figma.

`GET /integration/figma/current`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/integration/figma/current`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

Получение текущей интеграции с Figma.

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

**Allows:** `integration:design` (все обязательны; без ресурса)

### TypeScript (copy-paste)

**`GET /integration/figma/current`**

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

```typescript
export type IntegrationFigmaCurrentResponse = IServerResponse<Resp_integration_figma_current>

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

## Response `200`

OK — `IServerResponse<Resp_integration_figma_current>`

- object
  - `code` integer, required
  - `data` RespIntegrationFigmaCurrent, required: ResponseData for integration/figma/current
    - `integration` object, nullable: TS type: ( Pick<IFigmaIntegration, 'ID' | 'cID' | 'status' | 'createdDT' | 'errorCode'> & { account: FigmaIntegration.AccountInfo | null } )
  - `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 integration:design required
- `406`: TimeResync — расхождение rts с сервером

---

[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)
