---
title: "Get Presigned urls"
method: POST
path: "/s3/presignedUrls"
tags: ["s3upload"]
---

# Get Presigned urls

`POST /s3/presignedUrls`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/s3/presignedUrls`
- Auth: HTTP bearer

## Request body

- PresignedUrlBody
  - `dataset_id` string, required
  - `object_name` string, required
  - `parts` integer, required

## Response `201`

Presigned URLs created

- PresignedUrlResp
  - `upload_id` string, required
  - `urls` string[], required

## Other responses

- `422`: Validation Error
- `500`: Internal Server Error

## Changes

- **2025-11-21** `527aef2c43cd`: 1 breaking
  - added the new required request property `dataset_id`
- **2025-10-30** `5c36b94b3af5`: 4 breaking, 2 warning, 2 info
  - added the new required request property `object_name`
  - added the new required request property `parts`
  - removed the required property `UploadID` from the response with the `201` status
  - removed the required property `Urls` from the response with the `201` status
  - …4 more
- **2025-05-09** `500a3e74a5a6`: 2 info
  - api tag `s3upload` added
  - api tag `presignedUrls` removed

[Operation history](https://skmtc.dev/swissopenem/apis/ethz-archiver-service-2/changes/s3/presignedUrls/post.md)

---

[API](https://skmtc.dev/swissopenem/apis/ethz-archiver-service-2.md) - [All operations](https://skmtc.dev/swissopenem/apis/ethz-archiver-service-2/llms.txt) - [OpenAPI document](https://skmtc.dev/swissopenem/apis/ethz-archiver-service-2/revisions/2d7175dce3c0?raw)
