webhook-template
webhook-template
Model that represents a webhook template. Either both of the updatedAlertRequestConfig and canceledAlertRequestConfig fields should be provided or neither of them. If those fields are not provided, the value of newAlertRequestConfig will be used while sending the notification.
AllOf
JSON Example
{
"type": "string",
"newAlertTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
},
"updatedAlertTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
},
"canceledAlertTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
},
"actionTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
}
}