Comment
or Entity
. Reports are tracked per user to avoid duplicate submissions.
Body Parameters
ID of the target being reported (comment or entity)
Type of target being reported. Must be either
Comment
or Entity
Reason for the report (e.g., “Spam”, “Harassment”, “Inappropriate content”)
Optional additional information about the report
Response
Success message describing the result
Response code (e.g., “report/created”, “report/already-reported”, “report/updated”)
Success Responses
New Report Created - 201 Created
New Report Created - 201 Created
Report Already Exists - 200 OK
Report Already Exists - 200 OK
Report Updated - 200 OK
Report Updated - 200 OK
Error Responses
Missing Required Fields - 400 Bad Request
Missing Required Fields - 400 Bad Request
Invalid Target Type - 400 Bad Request
Invalid Target Type - 400 Bad Request
Target Not Found - 404 Not Found
Target Not Found - 404 Not Found
Foreign Key Violation - 400 Bad Request
Foreign Key Violation - 400 Bad Request
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
- Requires authentication
- Only
Comment
andEntity
are validtargetType
values - Multiple users can report the same target, but each user is recorded only once
- Submitting a second report for the same target updates the reporter list
- Reports are reviewed by moderators through the Replyke dashboard
- Rate limiting: 20 requests per 5 minutes