문서API 참조
Log In
API Reference

Create notification

Create a new event notification configuration.

Body Params
required
string
required

The Go text/template template to format the notification content.

string
required

Name of notification configuration.

string
required

Event type for which this notification will fire.

string
required

Method used to deliver event notification.

array of strings | null
required

If present, only events that apply to the hosts that have the tag(s) will be sent by this notification.

hosts_tags_include*
string
Defaults to and

If there are more than one hosts_tags_include tags, this operator controls the matching logic.

array of strings | null
required

If present, events will NOT be sent for any hosts that have these tag(s). Exclude tags have priority over include tags.

hosts_tags_exclude*
string
Defaults to and

If there are more than one hosts_tags_exclude tags, this operator controls the matching logic.

boolean
Defaults to true

Holds the active status of the notification.

Responses

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