---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com.tr/support/forms/en/api-ref/files/events_v1_views_files_get_file_view.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/support/forms/en/llms.txt

<div class="openapi">

# Download file

<!-- markdownlint-disable-file -->

Downloads an attached file.
To access the file, the user must have the `change_survey` or `viewfile_survey` role, or be the user who uploaded the file.
An anonymous user can download the file by passing the `hash` parameter in the request.
The `hash` parameter is returned when uploading a file.

Parameters:
- **path**: path for downloading the file
- **download**: adds the `Content-Disposition` header with the file name to the response
- **hash**: allows downloading the file if access to it cannot be verified

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-get);margin-bottom: 12px">

<div class="openapi__request">

GET {.openapi__method}
```text translate=no
https://api.forms.yandex.net/v1/files
```

</div>

</div>

</div>

### Query parameters

#|
|| **Name** | **Description** ||
||

_path_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
||

_download_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

_Default:_{.json-schema-reset .json-schema-value} `false`
{.table-cell}
||
||

_hash_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
|#{.json-schema-properties}

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.