Skip to main content

Test an outgoing webhook

POSThttps://api.eu1.coralogix.com/mgmt/openapi/5/integrations/webhooks-test/v1

Tests an outgoing webhook configuration.

Requires the following permissions:

  • outbound-webhooks:ReadConfig

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Body

application/json

Request for testing an outgoing webhook configuration.

    data#objectrequired

    Outgoing webhook input data. The selected config determines the type. A URL is required for Generic, Slack, Microsoft Teams workflow, Jira, Opsgenie, and Demisto webhooks. Microsoft Teams writes are rejected because this type is deprecated. Send Log needs no URL. A service policy may reject a supplied Send Log URL. An update replaces the config and cannot change the webhook type.

    oneOf
    object

    Aws event bridge config.

    Demisto config.

    Email group config.

    Generic webhook config.

    Ibm event notifications config.

    Jira config.

    data.microsoftTeams#object

    Microsoft teams config.

    data.msTeamsWorkflow#object

    Ms teams workflow config.

    data.name#stringrequired

    Display name.

    Possible values: non-empty

    Example: my_webhook
    data.opsgenie#object

    Opsgenie config.

    Pager duty config.

    Send log config.

    Slack config.

    data.url#string

    URL.

    Example: slack.webhook.com

Response

application/json

Response containing the results of an outgoing webhook test.

    oneOf
    object

    Failure.

    success#object

    Success.