---
title: "Submit a new report"
method: POST
path: "/reports"
tags: ["Reports"]
---

# Submit a new report

`POST /reports`

Allows users to submit a new report for a specific service. If the user is not the owner, the report can still be submitted but requires approval.

## Request body

- ReportSubmission
  - `serviceId` string, required
  - `status` 'COMPLIANT' | 'NON_COMPLIANT' | 'PENDING', required
  - `details` string[]
  - `isPublic` boolean

## Response `201`

Report submitted successfully.

- ReportResponse
  - `reportId` string
  - `message` string

## Other responses

- `400` — Invalid report data provided.
- `500` — Internal server error while submitting the report.

## Changes

- **2024-10-17** `53644f0719aa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/forkbombeu/apis/credimi-api/changes/reports/post.md)

---

[API](https://skmtc.dev/forkbombeu/apis/credimi-api.md) · [All operations](https://skmtc.dev/forkbombeu/apis/credimi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/forkbombeu/credimi-api/revisions/53644f0719aa/schema)
