Alerts
Overview
The PRIZM platform can automatically send notifications to users or external systems when a predefined alert is triggered.
Supported Alert Methods
- Email: Sends a formatted email to specified recipients.
- SMS: Sends a text message to a mobile number.
- HTTP Webhook: Sends a
POSTrequest to a specified URL, allowing for integration with third-party services like Slack, PagerDuty, or custom applications.
Configuring HTTP Webhook Alerts
To integrate PRIZM alerts with an external system, you can configure an HTTP webhook. This is done by defining the target endpoint’s url and any necessary headers.
Configuration Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | String | Yes | The destination URL where the POST request will be sent. |
headers | Object | No | A key-value map of custom HTTP headers to include in the request, such as for authentication (Authorization). |
Payload Specification
When an alert is triggered, PRIZM sends a POST request to the configured url with a Content-Type: application/json header and the following JSON body:
| Field | Type | Description |
|---|---|---|
deviceId | String | The unique identifier of the device that triggered the alert. |
text | String | The descriptive message of the alert. |
Last updated on