---
title: "Generate presigned upload URL for gallery image"
method: POST
path: "/admin/gallery/upload-url"
tags: ["Admin Gallery"]
---

# Generate presigned upload URL for gallery image

`POST /admin/gallery/upload-url`

## Request body

- GenerateGalleryUploadUrlDtoClass
  - `filename` string
  - `contentType` string
  - `tags` string

## Response `201`

- GalleryUploadUrlResponseDto
  - `id` string, required
  - `uploadUrl` string, required
  - `s3Key` string, required

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
