Skip to main content
Test an outgoing webhook
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/4/integrations/webhooks-test/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "name": "my_webhook",
    "slack": {
      "attachments": [
        {
          "isActive": true,
          "type": "EMPTY"
        }
      ],
      "digests": [
        {
          "isActive": true,
          "type": "UNKNOWN"
        }
      ]
    },
    "type": "UNKNOWN",
    "url": "slack.webhook.com"
  }
}
'
{
  "failure": {
    "displayMessage": "example_display_message",
    "errorMessage": "example_error_message",
    "statusCode": 400
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
data
Outgoing webhook input data · object

Response

failure
Test outgoing webhook failure · object