GET Notification Webhook
Get the list of webhooks.
Successfully retrieved the list of webhooks to which system notifications will be delivered.
[
{
"id": "73b7beea-d798-4db8-b89d-7c84cfc93075",
"proxyId": "760b1a86-e590-4890-939b-c504c491a072",
"URLs": [
"https://hooks.slack.com/services/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"
],
"destinationApp": "custom",
"contentType": "JSON",
"payload": "{\n \"alert_type\": \"${AlertType}\",\n \"alert_name\": \"${AlertName}\",\n \"search_period\": \"${SearchPeriod}\",\n \"hit_oeprator\": \"${HitOperator}\",\n \"messages\": \"${messagesString}\"\n}",
"name": "test-hasmik",
"headers": "{\"Action\":\"POST\",\"contentType\":\"application/json\"}",
"acceptCert": false,
"sendIndividualLogs": false
}
]
The request was refused because it lacks valid authentication
credentials. This can happen if the Authorization header
was missing, or if it contained an invalid session ID.
Obtain a new session ID and retry the request,
or make an unauthenticated request without the Authorization header.
"Invalid session ID"
The request was refused because the session ID has
expired. Obtain a new session ID from /api/v1/sessions.
"Login Timeout"
Internal error while processing the client request
{
"errorMessage": "The operation failed due to an internal error."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/notification/webhook