Developers can moderate comments using this VIDIZMO API by passing the value “moderate_comments” in the“action” parameter and can also use any other optional parameter provided in the table below to get the required result set.


This method requires User Context be set before calling it. And like other APIs either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to set User Context.


Request



Parameters


Parameter 

Description

comment_ids

Id of a comment.

status

Status of a comment

 

Prefered Values:

Pending for approval =1

Approved = 2

Rejected =3

user_id

Id of a user.


Response

 

{
  "status": 1,  "status_code": 200, "message": null
}



To learn more how these Widgets work, click here on VIDIZMO Web API Library.

For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.