---
title: "PUT /api/v1/documents/presign_download"
method: PUT
path: "/api/v1/documents/presign_download"
tags: ["documents"]
---

# PUT /api/v1/documents/presign_download

`PUT /api/v1/documents/presign_download`

## Request

- Base URL: `https://localhost:3003`
- URL: `https://localhost:3003/api/v1/documents/presign_download`
- Auth: none declared

Get a presigned URL for downloading a file.

## Request body

- PutApiV1DocumentsPresignDownload: Get a presigned URL for downloading a file.
  - `object_key` string, required: S3 object key.
  - `s3_opts` object: Additional S3 options, like `expires_in`

## Response `200`

Get a presigned URL for downloading a file.

---

[API](https://skmtc.dev/ministryofjustice/apis/criminal-applications-datastore-v1.md) - [All operations](https://skmtc.dev/ministryofjustice/apis/criminal-applications-datastore-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/ministryofjustice/apis/criminal-applications-datastore-v1/revisions/cf5b717bcd7c?raw)
