POST Moderate users
Report User
URL Arguments userid : required The ID of the user who is being reported, URL ENCODED.
URL Arguments
- userid : (required) The ID of the user who is being reported, URL ENCODED.
BODY Parameters
userid : (required) This is the application specific user ID of the user reporting the first user.
reporttype: (required) This is the classification of the reported post. It must be one of the below values (note that 'false' represents information considered false by the reporter:
abuse
spam
selfharm
hate
violence
harassment
nudity
illegal
false
other
RESPONSES:
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Request completed successfully |
| 404 | Not Found | The specified user or application could not be found |
| 409 | Conflict | The request was rejected because user reporting is not enabled for the application. |
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id userid path string customer-defined required
The customer defined user ID from your application or identity system.
Example:u-8842 Request
JSON body
Send as application/json.
reportType integer · int32 required
userId string customer-defined required
The customer defined user ID from your application or identity system.
Request example
{
"reportType": {},
"userId": "u-8842"
} Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 409 Conflict ApiResult 500 Internal Server Error ApiResult