Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To integrate with Verity, the webhook target server must:

  • Be able to receive HTTP/ HTTPS POST requests over the internet.

  • Respond to Verity with an HTTP 2XX status code.

  • Send responses to Verity within 5 seconds.

...

Add a callBackUrl parameter with the webhook address to the page request. The webhook URL must support HTTPS and be properly URL-encoded.  For example:

...

After successfully processing the request,  Verity initiates an HTTP/ HTTPS POST to the webhook URL with the JSON response JSON data, for example: Code Block

languagejson
{ "dataAvailable": true, "status": "PROCESSED", "pageUrl": "https://aragonresearch.com/cisco-google-and-zoom-enhance-free-meetings-to-assist-with-coronavirus/", "uuid": "deb59fc2-b8ef-4dbe-ab64-6a1950a45a76", "verityData": { "languageCode": "en", "iab": { "v1": [ { "id": "IAB19", "category": "Technology & Computing", "score": 0.52 }, { "id": "IAB7", "category": "Health & Fitness", "score": 0.13 }, { "id": "IAB19-18", "category": "Internet Technology", "score": 0.11 }, { "id": "IAB19-8", "category": "Computer Networking", "score": 0.1 }, { "id": "IAB7-37", "category": "Psychology/Psychiatry", "score": 0.09 } ], "v2": [ { "id": "596", "category": "Technology & Computing", "score": 0.54 }, { "id": "379", "category": "News and Politics", "score": 0.19 }, { "id": "600", "category": "Computer Networking", "score": 0.08, "parent": { "id": "599", "category": "Computing", "parent": { "id": "596", "category": "Technology & Computing" } } }, { "id": "635", "category": "Smartphones", "score": 0.07, "parent": { "id": "632", "category": "Consumer Electronics", "parent": { "id": "596", "category": "Technology & Computing" } } }, { "id": "388", "category": "Political Issues", "score": 0.07, "parent": { "id": "386", "category": "Politics", "parent": { "id": "379", "category": "News and Politics" } } } ] }, "keywords": [ "covid", "coronavirus", "covid-19", "pandemic", "cisco", "logmein", "free webex cisco", "zoom", "google hangouts", "google", "logmein offers free remote", "cisco makes", "zoom removes", "large coronavirus outbreak", "google offers premium features", "aragon", "enhance", "online meetings", "web meetings" ], "safe": false, "threats": [ { "id": "GGT9", "category": "Medical", "confidence": "HIGH" } ], "sentiments": [ { "sentiment": "neutral", "score": 0.73 }, { "sentiment": "positive", "score": 0.24 }, { "sentiment": "negative", "score": 0.03 } ], "processedAt": "2021-02-09T22:13:52.864Z" } } 

Step 6 – Webhook target server sends a successful response status code

...