---
title: "Get presigned URL for group chat image upload"
method: POST
path: "/v1/chat/rooms/{roomId}/image"
tags: ["chat"]
---

# Get presigned URL for group chat image upload

`POST /v1/chat/rooms/{roomId}/image`

## Path parameters

- `roomId` string, uuid, required

## Request body

- object
  - `filename` string, required
  - `mimeType` string, required
  - `fileSize` integer, required

## Response `200`

Successful response

- object
  - `uploadUrl` string, required
  - `fileKey` string, required
  - `mediaUrl` string, 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/revisions/1edcd08d9f89/schema)
