---
title: "Get presigned URL for uploading clan image"
method: POST
path: "/v1/clans/{clanId}/image"
tags: ["clans"]
---

# Get presigned URL for uploading clan image

`POST /v1/clans/{clanId}/image`

## Path parameters

- `clanId` string, uuid, required

## Request body

- object
  - `fileName` string, required
  - `contentType` string, required
  - `imageType` 'avatar' | 'banner', required

## Response `200`

Successful response

- object
  - `uploadUrl` string, uri, required
  - `fileKey` string, required
  - `mediaUrl` string, uri, required

## Other responses

- `404` — Resource not found

---

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