Skip to main content
Webhook API

Get a callback to your app, with a payload of data, whenever an Insites audit is completed

Andrew Waite avatar
Written by Andrew Waite
Updated over a week ago

Insites can make a call to your own application when our analysis is completed, with a payload of the report data. This may be useful for a number of reasons:

  • Save Insites data into your own database or CRM

  • Create an automatic follow-up action, e.g. email the customer or add them to a mailing list

You can get a callback instantly for the following events:

  • When a lead generation audit completes

  • When an API audit completes

  • When ALL audits complete (those run by reps, inbound tool reports etc)

If you need to unblock the incoming webhooks Insites sends, the source IP is

Callback from API initiated report

Webhook for lead generation report

You can pass a webhook URL with each report by adding a hidden field to your landing page, labeled onCompletion. This field should be set to the URL of your webhook handler. As the onCompletion field is publicly viewable on the landing page, you may wish to add a unique token to each URL for security.

Alternatively, you can speak to your Digital Account Manager who can set an account-wide webhook URL for all lead generation reports.

Webhook for all reports

Speak to your Customer Success Manager who can add a webhook URL for all reports ran in your Insites account.

Data format

The data will be POSTed to the URL of your choice as JSON.

The exact data you receive will depend on your account configuration (e.g. tests enabled and country of operation) but an example for your reference is included below:

"detected_phone":"+44 1322 460460",
"detected_address":"Insites LTD, Brunel Parkway, Pride Park, DE24 8HR, United Kingdom, United Kingdom",
"analytics_tool":"Google Analytics"
"homepage_title_tag":"Insites - making the web a better place",
"homepage_meta_description":"Helping to make the web a better place.",

Did this answer your question?