Webhook is a way for an app to provide other applications with real-time information. A webhook delivers data to other applications as it happens, meaning you get data immediately.
The first step in consuming a webhook is giving the webhook provider(IPERA) a URL to deliver a request. This is often done through a back-end panel or an API, meaning you also need to set up a URL in your app accessible from the public web.
IPERA webhook can use below methods to send data to you in JSON to be interpreted
.
HTTP POST
HTTP GET
HTTP HEAD
HTTP PUT
HTTP PATCH
HTTP DELETE
Also, up to 5 custom headers (key/value pairs) are supported in addition to the below fields that can be sent.
Placeholder Description
| [[name]] | Guest full name |
| [[email]] | Guest e-mail address |
| [[phone]] | Guest phone number |
| [[location]] | Location name of the event |
| [[building]] | Building name of the event |
| [[floor]] | Floor name of the event |
| [[zone]] | Zone name of the event |
| [[mac]] | Client MAC address |
| [[locationId]] | Hashed location id of the event |
| [[buildingId]] | Hashed building id of the event |
| [[floorId]] | Hashed floor id of the event |
| [[zoneId]] | Hashed zone id of the event |
| [[timestamp]] | Timestamp of the event |
| [[temperature]] | Temperature data of the sensor |
| [[humidity]] | Humidity data of the sensor |
| [[batteryLevel]] | Battery level of the sensor |
| [[button]] |
Name of the pressed button |
| [[true]] |
Boolean true value |
| [[false]] |
Boolean false value |
Comments
0 comments
Article is closed for comments.