Report a Post reply
Endpoint allows to report post reply
Report existing post reply
POST
https://api.whisk.com/v2/posts/replies/{reply_id}/report
Method allows usser to report specific post reply. Reply could be reported by reply_id
. Reported reply will be hidden from all pages. Report will be submitted to Whisk moderators team and could be accepted or rejected. If moderators team decide that reply is not harmful they'll accept it and it will apper everywhere automatically. If they'll reject it - reply will be deleted forever.
Query Parameters
reply_id*
String
Reply id to report
Headers
Authorization*
String
User Access token to authorize the API usage. For more information, see Authentication
Request Body
report_info*
Object
An object for report info
reason*
Enum
Reason for report, predefined.
REPORT_REASON_INVALID;
REPORT_REASON_SPAM;
REPORT_REASON_NSFW;
REPORT_REASON_IP_INFRINGEMENT;
email*
String
Reporter's email. So for moderators team it would be possible to contact him if needed
comment
String
Comment submitted by reporter
Request body
Sample request and response
curl -X POST "https://api.b2c.whisk-dev.com/v2/posts/replies/dc626e43fc85464faa5a79ab022cc0c1/report" -H "accept: application/json" -H "Authorization: Bearer " -H "Content-Type: application/json" -d "{ "report_info": { "reason": "REPORT_REASON_IP_INFRINGEMENT", "email": "[email protected]", "comment": "test" }}"
Last updated