Skip to content

testExistingWebhook

Test an existing webhook.

Arguments

Argument Type Description
input (required) TestExistingWebhookInput! The existing webhook to test.

Returns

TestExistingWebhookReply!

Sample

mutation TestExistingWebhook($input: TestExistingWebhookInput!) {
  testExistingWebhook(input: $input) {
    isSuccessful
    webhookStatus
  }
}
{
  "input": {
    "id": 0
  }
}
{
  "data": {
    "testExistingWebhook": {
      "isSuccessful": true,
      "webhookStatus": "AUTO_DISABLED",
      "errorInfo": {
        "errorMessage": "example-string",
        "statusCode": 0
      }
    }
  }
}