Feedback webhooks

Feedback can be sent to a defined webhook.

Webhook will get the following payload:

{
	"type": "webhook:newfeedback",
    "data": {
		"projectCode": "the code of your workspace",
		"text": "text of the feedback",
		"authorName": "John Smith",
		"authorEmail": "john@email.com",
		"authorUsername": "john.smith",
		"screenshotsUrls": ['url1', 'url2'],
		"videoDataUrls": ['url1', 'url2'],
		"createdAt": "2022-08-12T20:55:18",
		/* Values of the following properties are gathered from the browser */
		"environmentInfo": {
            "url": window.location.href,
            "viewportWidth": window.innerWidth,
            "viewportHeight": window.innerHeight,
            "appCodeName": navigator.appCodeName,
            "appName": navigator.appName,
            "appVersion": navigator.appVersion,
            "cookieEnabled": navigator.cookieEnabled,
            "deviceMemory": navigator.deviceMemory,
            "doNotTrack": navigator.doNotTrack,
            "hardwareConcurrency": navigator.hardwareConcurrency,
            "language": navigator.language,
            "maxTouchPoints": navigator.maxTouchPoints,
            "onLine": navigator.onLine,
            "platform": navigator.platform,
            "product": navigator.product,
            "productSub": navigator.productSub,
            "userAgent": navigator.userAgent,
            "vendor": navigator.vendor,
            "vendorSub": navigator.vendorSub
        }
	}
}