Post
/v2/notification/create
Security
API Key: jwtAuth
Header parameter nameauthorization
Use Bearer <token>
Header parameters
Authorization
stringRequired
Bearer token. Format: Bearer <your_token_here>
Body parameters
object
notificationBody
object (alertserviceNotificationBody) Required
description
string
Description of notification
Exampleexample string
duration
string
Time interval for notification (required)
ExampleENUM_VALUE
enabled
boolean
Enable or disable notification (required)
Exampletrue
frequency
integer (int64)
Frequency of notifying a continuing alert (required)
Minimum0
Example12345678910
messageBody
string
Message body to prepend to actual message
Exampleexample string
notificationName
string
Name of the notification record (required)
Exampleexample string
opsgenieList
Array of string
string
List of opsgenie recipients
Exampleexample string
opsrampList
Array of string
string
List of opsramp recipients
Exampleexample string
pagerdutyList
Array of string
string
List of pagerduty recipients
Exampleexample string
recipientList
Array of string
string
Non-empty list of email recipients (required)
Exampleexample string
teamsList
Array of string
string
List of teams recipients
Exampleexample string
webhookUrlList
Array of string
string
List of webhook_url recipients
Exampleexample string
ruleIdList
Array of string Required
string
List of rule ids (required)
Exampleexample string
Responses
200
OK
object