Heatmaps webhook

Heatmaps webhooks are triggered when your project has reached the set Heatmap precision for your created heatmap. This means that the heatmap is no longer updated. For more information, see Heatmaps.

Setting up Heatmaps webhooks

To set up a Heatmaps webhook:

POST /api/v1/webhooks
  "url": "https://some-url.com",
  "type": "heatmaps",
  "secret": "some-secret"    //optional
}

An example webhook payload:

{
	"type": "heatmaps.finished",
	"timestamp": Date,
	"project": {
		"id": String,
		"name": String
	},
	"organization": {
		"id": String,
		"name": String
	},
	"data": {
		"heatmap": {
			"id": String,
			"name": String,
			"url": String
		},
		"views": {
			"limit": Number,
			"total": Number,
			"mobile": Number,
			"tablet": Number,
			"desktop": Number
		},
		"finishedAt": Date
	}
}