---
title: "Create one-time signed upload URLs for several objects in one call"
method: POST
path: "/api/v0beta1/storage/uploads/batch"
tags: ["Uploads"]
---

# Create one-time signed upload URLs for several objects in one call

`POST /api/v0beta1/storage/uploads/batch`

## Request body

- CreateUploadBatchRequest
  - `files` object[], required
    - `filename` string, required
    - `upsert` boolean

## Response `201`

One signed upload URL per requested file, in `objects`. PUT each file body to its `upload_url` using its `token`; all are valid for `expires_in` seconds, single use. The whole request fails if any single file cannot be signed.

- UploadBatchResponse
  - `bucket` string, required
  - `objects` object[], required
    - `path` string, required
    - `upload_url` string, required
    - `token` string, required
  - `expires_in` integer, required

## Other responses

- `400` — Error
- `401` — Error
- `403` — Error
- `500` — Error
- `502` — Error

---

[API](https://skmtc.net/amika/apis/amika-api.md) · [All operations](https://skmtc.net/amika/apis/amika-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amika/amika-api/revisions/664536fccd0e/schema)
