---
title: "Report the other person in a thread, with the messages it is about"
method: POST
path: "/api/chat/peers/reports"
tags: ["chat"]
---

# Report the other person in a thread, with the messages it is about

`POST /api/chat/peers/reports`

## 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/peers/reports`
- Auth: HTTP bearer

## Request body

- PeerReportDto
  - `roomId` number, required
  - `reason` 'harassment' | 'threats' | 'sexual_content' | 'spam' | 'medical_misinformation' | 'inappropriate_content' | 'safety_concern' | 'other', required
  - `freeText` string
  - `messageIds` number[]: The messages the report is about. Omitted, the latest few in the thread are attached.

## Response `201`

## Changes

- **2026-10-13** `9ef87a986476`: 2 info
  - added the new `sexual_content` enum value to the request property `reason`
  - added the new `threats` enum value to the request property `reason`
- **2026-10-07** `dcecdb0ef84b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/chat/peers/reports/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)
