After each moderation, our service makes a GET request to a callback URL you provide.
Callbacks are optional but recommended. You may also use the webpurify.live.imgstatus method to poll for results.
You can set your callback URL by logging in to your WebPurify account and selecting your image filter license.
Optionally you can set your callback URL when you submit the image for moderation using the “callback” agrument.
The callback request is always sent with at least two arguments: imgid and status. If the image was submitted with the optional “customimgid” value set, that will also be sent.
If you set your callback URL to: http://www.yoururl.com/imgcallback.php
A sample response after an image has been moderated would be http://www.yoururl.com/imgcallback.php?imgid=43534dfdfg3453sffsd&status=1
Possible image statuses are:
- status=1 (approved) - status=2 (declined)