---
title: "Create Report"
method: POST
path: "/api/v1/report/"
tags: ["report", "web_app", "NOT_USED"]
---

# Create Report

`POST /api/v1/report/`

Submit report

## Request body

- ReportCreate — Report API 端点的请求数据结构。
  - `target_id` string, required — 举报或者反馈的目标对象的 ID，角色或者用户的 ID。
  - `target_type` 'USER' | 'AGENT', required
  - `reason_ids` integer[], nullable
  - `reason_codes` ReasonCode[], nullable — 举报或者反馈的原因代码列表。如果未提供且提供了 reason_ids，将从 reason_ids 自动转换
  - `image_urls` string[], nullable — 举报或者反馈附图的链接，该链接来自 /api/v1/images 端点上传图片返回的 gcs URL（可能是 cdn 链接）
  - `description` string, nullable — The description of the report.
  - `request_id` string, nullable — The ID of the request.
  - `report_type` 'REPORT' | 'FEEDBACK'

## Response `200`

Successful Response

- APIResponse
  - `code` integer
  - `message` string
  - `data` unknown

## Other responses

- `422` — Validation Error

## Changes

- **2025-11-30** `64a35ff6429d` — 4 info
  - api tag `NOT_USED` added
  - added the new optional request property `reason_codes`
  - the request property `reason_ids` became optional
  - request property `reason_ids` list-of-types was widened by adding types `null` to media type `application/json`
- **2025-11-25** `05cf5f034c74` — 2 info
  - api tag `web_app` added
  - added the new optional request property `report_type`
- **2025-09-29** `bd9470194fe1` — 1 info
  - added the new optional request property `request_id`

[Change history](https://skmtc.dev/nascentcore/apis/inty-backend/changes/api/v1/report/post.md)

---

[API](https://skmtc.dev/nascentcore/apis/inty-backend.md) · [All operations](https://skmtc.dev/nascentcore/apis/inty-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nascentcore/inty-backend/revisions/1e014c365df2/schema)
