Webhooks
About webhooks
Receive a callback when an event occurs, without repeatedly polling for changes.
How webhooks work
The REST API lets your software request data from Plexus. Webhooks send data to your registered URL when an event occurs. Plexus delivers the event as an HTTP POST request with a JSON body.
Choose an event type
| Type | When it triggers |
|---|---|
| ALERT | An alert is created or resolved on a fixture in the site. |
| STATUS_UPDATE | A warning or error status changes on a fixture in the site. |
| SENSOR_DATA | A fixture in the site uploads sensor data. |
Build your receiver
- Register your URL and webhook type for a site.
- Verify the signature on incoming requests.
- Process the payload and use the delivery ID to detect duplicate events.
Need help with your integration? Contact the Plexus team.