Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Event Rule Webhook configuration

Webhook body example

Use the JSON below as a ready-to-paste webhook body.
This is the recommended format because it parses correctly when copied fully or partially.

{"deviceEui":"{{event.deviceEui}}","assetName":"{{event.assetName}}","siteName":"{{event.siteName}}","floorName":"{{event.floorName}}","assetDeviceEui":"{{event.assetState.device.eui}}","assetStateAssetName":"{{event.assetState.asset.name}}","indoorSiteName":"{{event.assetState.indoorLocation.indoorLocation.site.name}}","outdoorLat":"{{event.assetState.outdoorLocation.coordinates.lat}}","temperature":"{{event.assetState.deviceData.deviceData.temperature}}","remainingBatteryPercentage":"{{event.assetState.batteryData.remainingBatteryPercentage}}","isMoving":"{{event.assetState.motionState.isMoving}}","sosButtonAlarm":"{{event.assetState.emergencyState.sosButtonAlarm}}","eventRuleName":"{{eventRule.name}}","eventRuleId":"{{eventRule.id}}"}

Supported placeholders

You can use the full JSON example above or copy only the required fields.

  • {{event.deviceEui}} — DevEUI of the device that triggered the event.
  • {{event.assetName}} — Name of the asset that triggered the event.
  • {{event.siteName}} — Name of the asset home site.
  • {{event.floorName}} — Name of the floor where the event was triggered.
  • {{event.assetState.device.eui}} — Current device EUI of the asset.
  • {{event.assetState.asset.name}} — Current asset name.
  • {{event.assetState.indoorLocation.indoorLocation.site.name}} — Site name for an indoor event.
  • {{event.assetState.outdoorLocation.coordinates.lat}} — Most recent outdoor latitude value.
  • {{event.assetState.deviceData.deviceData.temperature}} — Most recent temperature value, if available.
  • {{event.assetState.batteryData.remainingBatteryPercentage}} — Remaining battery percentage, if available.
  • {{event.assetState.motionState.isMoving}} — Current movement state.
  • {{event.assetState.emergencyState.sosButtonAlarm}} — Current SOS button alarm state.
  • {{eventRule.name}} — Name of the triggered event rule.
  • {{eventRule.id}} — ID of the triggered event rule.