Skip to navigation

Report Content

Flag a piece of content for moderator review.

Authentication: Required — Bearer token.

Request body (wrapped under content_report):

  • reportable_type (required) — The model type being reported (e.g. Post, Comment)
  • reportable_id (required) — The ID of the reported record
  • reason (required) — The reason code
  • note (optional) — Free-text detail

Response: data — The created report (id, reportable_type, reportable_id, reason, status, note, created_at). Status 201.

Side effects: Creates a ContentReport and triggers a ContentReported event.

Errors:

  • 422 — Validation errors

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
content_reportobjectOptional

Response

Created