> For the complete documentation index, see [llms.txt](https://formdr.gitbook.io/formdr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://formdr.gitbook.io/formdr/documentation/files/get-file.md).

# Get file

## Gets a presigned URL for downloading a file

<mark style="color:blue;">`GET`</mark> `https://api.formdr.com/api/v1/practice/{practiceId}/submissions/{submissionId}/file`

#### Path Parameters

| Name                                           | Type   | Description   |
| ---------------------------------------------- | ------ | ------------- |
| practiceId<mark style="color:red;">\*</mark>   | String | Practice ID   |
| submissionId<mark style="color:red;">\*</mark> | String | Submission ID |

#### Query Parameters

| Name                                        | Type   | Description                          |
| ------------------------------------------- | ------ | ------------------------------------ |
| fieldName<mark style="color:red;">\*</mark> | String | Field name of the file upload widget |

{% tabs %}
{% tab title="200: OK " %}

```javascript
"s3 string"
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Returns a temporary URI of an S3 download link that expires in 15 seconds.
{% endhint %}
