Skip to main content
POST
/
v1
/
reports
/
check
Check if a user can be reported
curl --request POST \
  --url https://backend.blox.report/v1/reports/check \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "reporterId": "<string>"
}
'
{
  "success": true,
  "canReport": true,
  "user": {
    "id": 123,
    "name": "<string>",
    "displayName": "<string>"
  },
  "reporterId": "<string>",
  "reason": "<string>"
}

Authorizations

Authorization
string
header
required

API key and secret as key:secret in Authorization header.

Body

application/json
userId
string
required
Minimum string length: 1
reporterId
string
required
Minimum string length: 1

Response

Whether the user can be reported

success
boolean
required
canReport
boolean
required
user
object
required
reporterId
string
required
reason
string
required