API Method send_feedback

This method should be used only for moderator feedbacks. It doesn't check spam. It sends back result of manual moderation. For other purposes use you could use other methods:

Required parameters:

  • method_name - should be 'send_feedback';
  • auth_key - API key. To obtain a key please get an account here https://cleantalk.org/register?platform=api;
  • feedback - string like "<request_id1>:<0|1>;<request_id2>:<0|1>;<request_id3>:<0|1>;" where <0|1> is moderator decision about appropriate request_id

Example:

Wget request:

wget -O- --post-data='{"method_name":"send_feedback","auth_key":"your_acccess_key","feedback":"4e8bc562bdaed613107d8b8695:0;4bd0105024bbaf60c57176b766e:1"}' https://moderate.cleantalk.org/api2.0

Response:

Server's response doesn't depend on the platform.

{
"received " : 2,
"comment" : "OK"
}

Explanation:

  • received - number of received request IDs;
  • comment - server answer, normally 'Ok';