Set up Webhook Event Notification

This topic describes how to set up webhook event notifications, so that third-party applications can get real-time notifications when the device reports data to Milesight Development Platform.

Restrictions

Click here to check the maximum supported number of webhook events under different plans.

Prerequisites

Procedure

  1. Log in to Milesight Development Platform.
  2. Go to Application and click the desired Application.
    Note: Ensure that the selected Application matches the one used to obtain Access Token.
  3. In the Application Settings section, configure the following:

    1. Turn on Webhook switch.
    2. In the Callback URI section, click Add.
    3. Enter the webhook callback URI for receiving event notifications.
    4. Click Test to check if the webhook is working properly.

      A test notification will be sent to all the webhook callback URI you entered.

  4. Click Save.

Result

You have set up webhook event notification, when the device reports data to Milesight Development Platform, an HTTP callback will be trigger to push the reported data to your callback URI. You can simulate the webhook notification referring to Webhook Simulation.