---
title: "POST /messages/{messageID}/report"
method: POST
path: "/messages/{messageID}/report"
tags: ["message"]
---

# POST /messages/{messageID}/report

`POST /messages/{messageID}/report`

指定したメッセージを通報します。

## Request body

- ReportMessage
  - `reason` string, required — 通報理由(100文字以内)

## Response `204`

通報を受理しました。

## Other responses

- `400` — 通報を受理できませんでした。リクエスト内容が不正です。
- `404` — 通報を受理できませんでした。指定されたメッセージは存在しません。

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `reportMessage` was added
- **2019-07-05** `6956f2622a20` — 7 info
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added optional request body
  - added the non-success response with the status `400`
  - …3 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/messages/:messageID/report/post.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/4ab97bc4eb2c/schema)
