Webhooks
Delivery and payload format
Understand the common JSON envelope, delivery retries, and duplicate events.
The webhook request
When a webhook is triggered, Plexus makes an HTTP POST request to the registered webhook URL. All webhook types share a common JSON envelope; the data object depends on the event type.
{
"siteId": 123,
"webhookType": "SENSOR_DATA",
"webhookUrl": "https://example.com/webhooks/plexus",
"timestamp": "2025-09-17T13:21:00Z",
"data": {}
}| Field | Description |
|---|---|
| siteId | The site associated with the event. |
| webhookType | ALERT, STATUS_UPDATE, or SENSOR_DATA. |
| webhookUrl | The registered callback URL. |
| timestamp | The timestamp included with the event. |
| data | The event-specific data described in the payload guides. |
Handle retries
If delivery fails, for example because of a network timeout or a non-2xx response, Plexus retries up to three times. Return a 2xx response when your receiver has successfully accepted the event.
Recognise duplicate deliveries
Inspect the X-Plexus-Delivery-Id header. It contains a unique ID for each unique webhook event. Use it to recognise events that your receiver has already handled.
X-Plexus-Delivery-Id: <unique event ID>Event payloads
The data object inside the shared envelope depends on the webhook type. Choose an event guide for its fields and example payload.
Need help with your integration? Contact the Plexus team.