Create a notification rule

Create a rule that delivers alerts by email or webhook for selected devices or device groups. Requires a bearer session or personal access token belonging to an enterprise administrator. Results are scoped to that enterprise.

Body Params
string
required
length ≥ 1
string
boolean
Defaults to true
targets
array of objects
required
length ≥ 1
targets*
string
enum
required
Allowed:
string | integer
required

The enclosure serial number for a device or the CMP group ID for a group.

eventSelections
array of objects
required
length ≥ 1
eventSelections*

At least one notification state must be enabled for each event selection.

integer
required

Use a code from notification reference data.

boolean
Defaults to true
boolean
Defaults to false
destinations
array of objects
required
length ≥ 1

Provide at least one enabled destination. Duplicate destinations are rejected.

destinations*
integer
string
enum
required
Allowed:
string
required
length ≥ 1
boolean
Defaults to true
config
object
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json