Skip to main content
Test Destination
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/destinations:test \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connectorConfigFields": [
    {
      "fieldName": "<string>",
      "template": "<string>"
    }
  ],
  "connectorId": "<string>",
  "entitySubType": "logsImmediateResolved",
  "messageConfigFields": [
    {
      "fieldName": "title",
      "template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
    }
  ],
  "payloadType": "default",
  "presetId": "<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 destination.

connectorConfigFields
object[]

The connector config fields.

connectorId
string

The connector id.

entitySubType
string

Entity sub-type to use when testing the destination.

Example:

"logsImmediateResolved"

entityType
enum<string>

Entity type.

Available options:
ENTITY_TYPE_UNSPECIFIED,
ALERTS,
TEST_NOTIFICATIONS,
CASES
messageConfigFields
Message Config Field · object[]

The message config fields.

payloadType
string

Payload type to use when testing the destination.

Example:

"default"

presetId
string

The preset id.

Response

200 - application/json

Response containing the results of a notification destination test.

result
object

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