---
title: "Report a message (v2)"
method: POST
path: "/v2/chats/messages/report"
tags: ["Chats v2"]
---

# Report a message (v2)

`POST /v2/chats/messages/report`

## Request body

- CreateMessageReportRequestDto
  - `messageId` string, required — ID of the message being reported
  - `reasonId` 'inappropriate_content' | 'spam' | 'harassment' | 'other', required — Reason for reporting the message
  - `additionalDetails` string — Additional details about the report (optional)

## Response `201`

Message reported successfully

- CreateMessageReportResponseDto
  - `success` boolean, required — Whether the report was created successfully
  - `message` string, required — Response message
  - `reportId` number — ID of the created report

## Other responses

- `422` — Validation failed or already reported

---

[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-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
