Skip to main content
Test Preset Config
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/presets:testConfig \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "configOverrides": [
    {
      "conditionType": {
        "matchEntityType": {}
      },
      "messageConfig": {
        "fields": [
          {
            "fieldName": "title",
            "template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
          }
        ]
      },
      "payloadType": "<string>"
    }
  ],
  "connectorId": "<string>",
  "entitySubType": "metric",
  "parentPresetId": "<string>"
}
'
{
  "result": {
    "failure": {
      "message": "<string>",
      "statusCode": 123
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request for testing a notification preset configuration.

configOverrides
object[]

The config overrides.

connectorId
string

The connector id.

entitySubType
string

Entity sub-type to use when testing the preset configuration.

Example:

"metric"

entityType
enum<string>

Entity type.

Available options:
ENTITY_TYPE_UNSPECIFIED,
ALERTS,
TEST_NOTIFICATIONS,
CASES
parentPresetId
string

The parent preset id.

Response

200 - application/json

Response containing the results of a notification preset configuration test.

result
object

Result of a notification test, either a success or failure.