Webhooks Overview

Butlr's webhooks deliver real-time data on key events, including occupancy and traffic data. Subscribing ensures automatic updates, timely insights, and structured data for informed decision-making.

Users can subscribe only once to each event type (Detections, Traffic, Floor Occupancy, Room Occupancy, and Zone Occupancy).

Event ordering is not guaranteed. Prioritizing speed, we deliver events as received. Use event timestamps for ordering and implement idempotent processing to handle potential out-of-order or duplicate events.

Butlr Webhooks

Butlr webhooks provide real-time updates on a variety of events, including Detections, Traffic, Floor Occupancy, Room Occupancy, and Zone Occupancy. By subscribing to these webhooks, users gain automatic access to timely and accurate information without the need for manual checks or data requests.

Our webhooks deliver structured, easy-to-process data, enabling real-time notifications that support informed decision-making. This empowers users to react swiftly to changes, optimize physical spaces, and improve operational efficiency. With Butlr webhooks, you can confidently make data-driven decisions, maximizing the value of your real estate portfolio.

Benefits

  • Receive real-time updates on events and changes.

  • Eliminate manual checks and data requests.

  • Streamline data processing and stay updated.

  • React quickly to changes and make data-driven decisions.

Available Webhooks

  • Event Type: DETECTIONS

  • Description: Receive coordinates (x, y) of detected people within a monitored area.

  • Payload Example:

{
  "id": "event_xxx",
  "type": "DETECTIONS",
  "timestamp": 1727735832000,
  "version": "v1.0.0",
  "metadata": { ... },
  "data": {
    "local": [ [0.5625, 0.125], [0.75, 0.5625] ], // 2 detections
    "world": [ [85.694195, 27.829299], [87.439295, 28.577199]] // 2 detections
  }
}

  • Event Type: TRAFFIC

  • Description: Receive updates on people entering or exiting a monitored area.

  • Payload Example:

{
  "id": "event_xxx",
  "type": "TRAFFIC",
  "timestamp": 1727735832000,
  "version": "v1.0.0",
  "metadata": { ... },
  "data": {
    "in": 0,
    "out": 1
  }
}

  • Event Type: FLOOR_OCCUPANCY

  • Description: Receive updates on the number of occupants detected by the presence sensor on a specific floor.

  • Payload Example:

{
  "id": "event_xxx",
  "type": "FLOOR_OCCUPANCY",
  "timestamp": 1727735832000,
  "version": "v1.0.0",
  "metadata": { ... },
  "data": 25
}

  • Event Type: ROOM_OCCUPANCY

  • Description: Receive updates on the number of occupants detected by the presence sensor in a specific room.

  • Payload Example:

{
  "id": "event_xxx",
  "type": "ROOM_OCCUPANCY",
  "timestamp": 1727735832000,
  "version": "v1.0.0",
  "metadata": { ... },
  "data": 4
}

  • Event Type: ZONE_OCCUPANCY

  • Description: Receive updates on the number of occupants detected by the presence sensor in a specific zone.

  • Payload Example:

{
  "id": "event_xxx",
  "type": "ZONE_OCCUPANCY",
  "timestamp": 1727735832000,
  "version": "v1.0.0",
  "metadata": { ... },
  "data": 1
}

Last updated