Get Proof of Play Data using Webhooks

The Proof of Play reports service delivers play time data for your graphics and videos through WebHooks.

Not sure how to use webhooks? Check out our easy-use Zapier tutorial.

Once configured, the proof of play feature will send periodic reports on how long each of your graphics played by sending an HTTP POST request to the webhook's Receipt URL with a JSON payload containing the report. 

The JSON payloads have the following format:

   "DeviceId":"1234abcd1234abcd1234abcd",   // unique device ID
   "AppId":"digitalsignage",               // app ID (ignore)
   "StartTime":"/Date(1451281740000)/",   // Start time of report interval (Unix time stamp)
   "EndTime":"/Date(1451285340000)/",   // End time of report interval (Unix time stamp)
   "ProofOfPlays":[          // Array of graphics/videos that played during the report
         "ReferenceId":"",    // Url of file (will be unique)
         "AdditionalInfo":"image1.jpg",       // Name of file
         "PlayDuration":300     // Play duration of file (in seconds)

Once you have set up a webhook server, you can take the URL you'd like to receive the payloads, and enter it into the dashboard. To do this, follow these steps:

  1. First, log into the dashboard and select the desired display group from the Displays dropdown.
  2. At the bottom of the page, you will see the Proof of Play section. You must supply a receipt url and a report interval (for example, every 30 minutes).
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk