Endpoints
Method Path Auth Required GET /api/reportsADMIN only GET /api/reports/{id}USER, ADMIN, or ORGANIZER POST /api/reportsUSER, ADMIN, or ORGANIZER PUT /api/reports/{id}USER, ADMIN, or ORGANIZER DELETE /api/reports/{id}USER, ADMIN, or ORGANIZER
GET /api/reports
Returns a paginated list of all reports on the platform.
Auth: Bearer token required. Role: ADMIN only.
This endpoint is restricted to the ADMIN role. All other authenticated users will receive 403 Forbidden.
Query Parameters
Optional search string to filter reports. Defaults to an empty string.
Page number for pagination. Defaults to 1.
Response Fields
Indicates whether the request was successful.
HTTP status code of the response.
Human-readable message describing the result.
List of report objects. Unique identifier of the report.
ID of the user who filed the report.
Display name of the reporter.
ID of the organizer being reported.
Display name of the reported organizer.
The reason for the report.
Timestamp when the report was filed.
Example
curl -X GET "https://api.meetpoint.com/api/reports?page=1" \
-H "Authorization: Bearer <admin-token>"
GET /api/reports/
Returns a single report by its UUID.
Auth: Bearer token required. Roles: USER , ADMIN , or ORGANIZER .
Path Parameters
The unique identifier of the report.
Response Fields
The report object. Unique identifier of the report.
Display name of the reporter.
ID of the reported organizer.
Display name of the reported organizer.
The stated reason for the report.
Timestamp when the report was filed.
Example
curl -X GET "https://api.meetpoint.com/api/reports/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "Authorization: Bearer <token>"
POST /api/reports
Files a new report against an organizer.
Auth: Bearer token required. Roles: USER , ADMIN , or ORGANIZER .
Request Body
The ID of the user filing the report. Typically resolved from the authenticated token.
The ID of the organizer being reported.
The reason for the report. Must be at least 10 characters.
Response Fields
The newly created report object. Unique identifier of the new report.
Display name of the reporter.
ID of the reported organizer.
Display name of the reported organizer.
Recorded reason for the report.
Timestamp when the report was filed.
Example
curl -X POST "https://api.meetpoint.com/api/reports" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"reporterId": "user-id-string",
"organizerId": "organizer-id-string",
"reason": "This organizer repeatedly posts misleading event information."
}'
PUT /api/reports/
Updates the reason for an existing report.
Auth: Bearer token required. Roles: USER , ADMIN , or ORGANIZER .
Path Parameters
The unique identifier of the report to update.
Request Body
The updated reason for the report. Must be at least 10 characters.
Response Fields
The updated report object. Unique identifier of the report.
Display name of the reporter.
ID of the reported organizer.
Display name of the reported organizer.
Updated reason for the report.
Original report timestamp.
Example
curl -X PUT "https://api.meetpoint.com/api/reports/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"reason": "Organizer cancelled the event without any notice or refund."
}'
DELETE /api/reports/
Deletes a report.
Auth: Bearer token required. Roles: USER , ADMIN , or ORGANIZER .
Path Parameters
The unique identifier of the report to delete.
Response Fields
The deleted report object. Unique identifier of the deleted report.
Display name of the reporter.
ID of the reported organizer.
Display name of the reported organizer.
Reason of the deleted report.
Timestamp of the original report.
Example
curl -X DELETE "https://api.meetpoint.com/api/reports/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "Authorization: Bearer <token>"