This API is deprecated. Use the Settings API instead. Look for the Problem notifications (builtin:problem.notifications
) schema.
The actual set of fields in the JSON model of a notification configuration depends on the type of the notification.
This page lists parameters and examples of JSON models for different notification types.
AnsibleTowerNotificationConfig
objectConfiguration of the Ansible Tower notification.
Element | Type | Description |
---|---|---|
acceptAnyCertificate | boolean | Accept any, including self-signed and invalid, SSL certificate ( |
customMessage | string | The custom message of the notification. This message will be displayed in the extra variables Message field of your job template. You can use the following placeholders:
|
jobTemplateID | integer | The ID of the target Ansible Tower job template. |
jobTemplateURL | string | The URL of the target Ansible Tower job template. |
password | string | The password for the Ansible Tower account. |
username | string | The username of the Ansible Tower account. |
EmailNotificationConfig
objectConfiguration of the email notification.
Element | Type | Description |
---|---|---|
bccReceivers | string[] | The list of the email BCC-recipients. |
body | string | The template of the email notification. You can use the following placeholders:
|
ccReceivers | string[] | The list of the email CC-recipients. |
receivers | string[] | The list of the email recipients. |
subject | string | The subject of the email notifications. |
JiraNotificationConfig
objectConfiguration of the Jira notification.
Element | Type | Description |
---|---|---|
description | string | The description of the Jira issue to be created by this notification. You can use same placeholders as in issue summary. |
issueType | string | The type of the Jira issue to be created by this notification. |
password | string | The password for the Jira profile. |
projectKey | string | The project key of the Jira issue to be created by this notification. |
summary | string | The summary of the Jira issue to be created by this notification. You can use the following placeholders:
|
url | string | The URL of the Jira API endpoint. |
username | string | The username of the Jira profile. |
OpsGenieNotificationConfig
objectConfiguration of the OpsGenie notification.
Element | Type | Description |
---|---|---|
apiKey | string | The API key to access OpsGenie. |
domain | string | The region domain of the OpsGenie. |
message | string | The content of the message. You can use the following placeholders:
|
PagerDutyNotificationConfig
objectConfiguration of the PagerDuty notification.
Element | Type | Description |
---|---|---|
account | string | The name of the PagerDuty account. |
serviceApiKey | string | The API key to access PagerDuty. |
serviceName | string | The name of the service. |
ServiceNowNotificationConfig
objectConfiguration of the ServiceNow notification.
Element | Type | Description |
---|---|---|
instanceName | string | The ServiceNow instance identifier. It refers to the first part of your own ServiceNow URL. This field is mutually exclusive with the url field. You can only use one of them. |
message | string | The content of the ServiceNow description. You can use the following placeholders:
|
password | string | The username to the ServiceNow account |
sendEvents | boolean | Send events into ServiceNow ITOM ( |
sendIncidents | boolean | Send incidents into ServiceNow ITSM ( |
url | string | The URL of the on-premise ServiceNow installation. This field is mutually exclusive with the instanceName field. You can only use one of them. |
username | string | The username of the ServiceNow account. Make sure that your user account has the |
SlackNotificationConfig
objectConfiguration of the Slack notification.
Element | Type | Description |
---|---|---|
channel | string | The channel (for example, |
title | string | The content of the message. You can use the following placeholders:
|
url | string | The URL of the Slack WebHook. This is confidential information, therefore GET requests return this field with the |
TrelloNotificationConfig
objectConfiguration of the Trello notification.
Element | Type | Description |
---|---|---|
applicationKey | string | The application key for the Trello account. |
authorizationToken | string | The application token for the Trello account. |
boardId | string | The Trello board to which the card should be assigned. |
description | string | The description of the Trello card. You can use same placeholders as in card text. |
listId | string | The Trello list to which the card should be assigned. |
resolvedListId | string | The Trello list to which the card of the resolved problem should be assigned. |
text | string | The text of the generated Trello card. You can use the following placeholders:
|
VictorOpsNotificationConfig
objectConfiguration of the VictorOps notification.
Element | Type | Description |
---|---|---|
apiKey | string | The API key for the target VictorOps account. |
message | string | The content of the message. You can use the following placeholders:
|
routingKey | string | The routing key, defining the group to be notified. |
WebHookNotificationConfig
objectConfiguration of the custom WebHook notification.
Element | Type | Description |
---|---|---|
acceptAnyCertificate | boolean | Accept any, including self-signed and invalid, SSL certificate ( |
headers | Http | A list of the additional HTTP headers. |
notifyEventMergesEnabled | boolean | Call webhook if new events merge into existing problems. |
payload | string | The content of the notification message. You can use the following placeholders:
|
url | string | The URL of the WebHook endpoint. |
HttpHeader
objectThe HTTP header.
Element | Type | Description |
---|---|---|
name | string | The name of the HTTP header. |
value | string | The value of the HTTP header. May contain an empty value. Required when creating a new notification. For the Authorization header, GET requests return the If you want update a notification configuration with an Authorization header which you want to remain intact, set the Authorization header with the |
XMattersNotificationConfig
objectConfiguration of the xMatters notification.
Element | Type | Description |
---|---|---|
acceptAnyCertificate | boolean | Accept any, including self-signed and invalid, SSL certificate ( |
headers | Http | A list of the additional HTTP headers. |
payload | string | The content of the message. You can use the following placeholders:
|
url | string | The URL of the xMatters WebHook. |
HttpHeader
objectThe HTTP header.
Element | Type | Description |
---|---|---|
name | string | The name of the HTTP header. |
value | string | The value of the HTTP header. May contain an empty value. Required when creating a new notification. For the Authorization header, GET requests return the If you want update a notification configuration with an Authorization header which you want to remain intact, set the Authorization header with the |