Request a Demo

Callback

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.vidstatus method to poll for results.

You can set your callback URL by logging in to your WebPurify account and selecting your video moderation license.

Optionally, you can set your callback URL when you submit the video for moderation using the “callback” argument.

The callback request is always sent with at least two arguments: vidid and status. If the video was submitted with the optional “customvidid” value set, that will also be sent.

Example:

If you set your callback URL to: http://www.yoururl.com/vidcallback.php

A sample response after a video has been moderated would be http://www.yoururl.com/vidcallback.php?vidid=43534dfdfg3453sffsd&status=1

Possible video statuses are:

- status=1 (approved)
- status=2 (declined)
- status=3 (video file was not found)
- status=4 (video format not supported)
- status=5 (video length longer than time in account, please refill your license)
- status=6 (video broken or not viewable)
- status=7 (video contains a language other than English)