Creating Webhooks

Webhooks allow you to build apps that subscribe to device status events on Edge Manager. When a device status event is triggered, an HTTP POST payload is sent to the webhook's configured URL.

About this task

Device status events include:
  • Created
  • Enrolled
  • Online
  • Offline
  • Deleted

Create up to 10 webhooks for receiving information about changes in device status, for example, when a device changes status from online to offline and vice versa.

Procedure

  1. In Edge Manager, go to Settings > Webhooks.
  2. Click + and add a new payload URL for the server endpoint that will receive the webhook payload.
    The following payload is sent to the webhooks you added.
    {
    	"eventType": string,
    	"deviceid": string,
    	"created": timestamp,
    	"data": {
    		"status": string
    	}
    }