---
title: "Re-sign storage keys for media in a room"
method: POST
path: "/api/chat/rooms/{roomId}/media-urls"
tags: ["chat"]
---

# Re-sign storage keys for media in a room

`POST /api/chat/rooms/{roomId}/media-urls`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/chat/rooms/{roomId}/media-urls`
- Auth: HTTP bearer

## Path parameters

- `roomId` number, required

## Request body

- MediaUrlsDto
  - `keys` string[], required

## Response `201`

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/chat/rooms/:roomId/media-urls/post.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
