Make report
This endpoint should be called when a user on your product reports another user or piece of content.
POST /user-reports
curl \
-X POST https://api.lassomoderation.com/api/v1/user-reports \
-H "Content-Type: application/json" \
-H "Authorization: Bearer lasso.a35afd...a6ea" \
-d '{"report":{"user_id":"some_user_id","policy_id":"other","content_id":"some_content_id","extra_info":"Some explanation from the user why it is reported","reported_by_id":"some_user_id","reported_by_type":"normal"}}'
Request example
{
"report": {
"user_id": "some_user_id",
"policy_id": "other",
"content_id": "some_content_id",
"extra_info": "Some explanation from the user why it is reported",
"reported_by_id": "some_user_id",
"reported_by_type": "normal"
}
}
Response examples (200)
{
"success": true
}