---
title: "Get S3 presigned URL for avatar upload (cropped cover icon)"
method: GET
path: "/v1/scenes/wizard/draft/{id}/cover/{coverId}/avatar/upload-url"
tags: ["Scene Wizard"]
---

# Get S3 presigned URL for avatar upload (cropped cover icon)

`GET /v1/scenes/wizard/draft/{id}/cover/{coverId}/avatar/upload-url`

## Request

- Base URL: `https://api.miaai.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://api.miaai.chat/v1/scenes/wizard/draft/{id}/cover/{coverId}/avatar/upload-url`
- Auth: HTTP bearer

## Path parameters

- `id` string, required
- `coverId` string, required

## Response `200`

Avatar upload URL generated successfully

- AvatarUploadUrlResponseDto
  - `uploadUrl` string, required: Pre-signed S3 upload URL for avatar
  - `avatarS3Key` string, required: S3 key for the avatar
  - `finalUrl` string, required: Final CDN URL where the avatar will be accessible

## Other responses

- `404`: Draft or cover not found

---

[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.dev/miaai/apis/backend-template-api/revisions/2a8d88a5124f?raw)
