WebPurify Profanity Filter, Image Moderation, and Video Moderation Services


Use this method to submit an image to the moderation service. It will return an image ID that is used to return the results of the moderation to a callback function.

You may also use the WP sandbox for testing and development: webpurify.sandbox.imgcheck

After your image has been moderated, the resulting status can be reported using one of our response methods. See our moderation results documentation

api_key (Required)
Your API application key.
imgurl (Required)
Full url to the image you would like moderated.
format (Optional)
Response format: xml or json. Defaults to xml.
customimgid (Optional)
A custom ID you wish to associate with the image that will be carried through to the callback.
callback (Optional)
You may also submit a URL encoded callback on a per image basis: read more
snstopic (Optional)
SNS Topic name. To use AWS SNS to receive results read more
photodna (Optional)
Set = 1 to check images for matches against known child exploitation hash datasets – You must activate PhotoDNA for your API Key in your admin console. Click here for more information on WebPurify’s PhotoDNA integration
Example Response
<?xml version="1.0" encoding="utf-8" ?> 
  <rsp stat="ok">
Error Codes
100: Invalid API Key
The API key passed was not valid.
101: API Key is inactive
The API key passed is inactive or has been revoked.
102: API Key was not included in request
This method requires an API Key.
103: Not a valid URL
The submitted URL is not valid.
106: Out of Requests
Out of Requests, Please refill.
Turnkey Image Moderation Criteria
Reject images that:
Turnkey Video Moderation Criteria
Reject videos that:
Other Language Label: If a video complies with our moderation criteria but contains languages other than English, we will label it as “Other Language.”