Skip to content

testWebhook

Test a webhook configuration.

Arguments

Argument Type Description
input (required) TestWebhookInput! The webhook configuration to test.

Returns

TestWebhookReply!

Sample

mutation TestWebhook($input: TestWebhookInput!) {
  testWebhook(input: $input) {
    isSuccessful
  }
}
{
  "input": {
    "providerType": "CUSTOM",
    "url": "https://example.com"
  }
}
{
  "data": {
    "testWebhook": {
      "isSuccessful": true,
      "errorInfo": {
        "errorMessage": "example-string",
        "statusCode": 0
      }
    }
  }
}