---
title: "Получение файла"
method: GET
path: "/files/{id}"
tags: ["Файлы"]
---

# Получение файла

`GET /files/{id}`

Получить файл в виде base64 строки

## Path parameters

- `id` string, required

## Response `200`

OK

- object
  - `code` integer, required — Код ответа сервиса
  - `message` string, required — Сообщение в случае возникновения ошибки (code <> 0)
  - `data` object, required
    - `file` string — Двоичные данные в base64
    - `name` string
    - `extension` string

---

[API](https://skmtc.dev/dns-technologies/apis/sdms-api.md) · [All operations](https://skmtc.dev/dns-technologies/apis/sdms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dns-technologies/sdms-api/revisions/86fc5316ea47/schema)
