Non-Telematics qualification Webhook

Zendrive provides the ability to specify a Webhook where the Application Publisher can receive notifications of users who have qualified for non-telematics offers. In this page, we have detailed the API request-response contract to support the IQL Ad program, meant for the Publisher's use.

Notes

  • The APIs detailed in this section are subject to change, based on input from customers. Zendrive will keep this document updated to reflect the latest updates and will also ensure that all publishers are informed.

  • The Webhook URL must be a HTTPS URL. Notifications are sent as a POST request to the Webhook URL with a data block containing a JSON string.

POST URL: Publisher to provide after setting up at their end.

Headers

Name
Type
Description

Authorization*

String

APIKEY <api_key>

Sample Response Fields

Field
Description

info.driver_id

Unique identifier for the driver

info.publisher_app_name

Name of the application

info.webhook_created_at_timestamp

Timestamp at which the qualification webhook was created

metadata.offer_created_at_timestamp

Timestamp at which the offer was created for the user

metadata.offer_id

Unique identifier for the offer for which the user is currently qualified.

metadata.offer_type

Indicates if the offer is auto_insurance or non_auto_insurance type

metadata.offer_subtype

Indicates the subtype the offer belongs to - telematics/affiliate/drive

metadata.advertiser_name

Advertiser’s name

metadata.offer_headline

Offer headline

metadata.offer_discount_percentage

Indicates the customer specific discount % available as per the offer

metadata.offer_expiry_timestamp

Timestamp at which the offer will expire for the user

Sample Response Payload

{
  "info": {
    "driver_id": "[email protected]",
    "publisher_app_name": "publisher",
    "webhook_created_at_timestamp": 1654506334000
  },
  "metadata": {
    "offer_created _at_timestamp": 1544506334000,
    "offer_id": "ad_123bajdh354",
    "offer_type": "non_auto_Insurance",
    "offer_subtype": "drive_offer",
    "advertiser_name": "Media Alpha",
    "offer_headline": "We haven't matched you with a telematics offer just yet but your driving qualified you to get an instant quote",
    "offer_discount_percentage": 0,
    "offer_expiry_timestamp": 1944506334000
  }
}

A mechanism similar to a queue should be in place to ingest the webhooks, to prevent any webhook data loss.