Skip to content

sendTestMessageToExistingWebhook

Send test message to existing webhook.

Arguments

Argument Type Description
input (required) SendTestMessageToExistingWebhookInput! Send test message to existing webhook input.

Returns

SendTestMessageToExistingWebhookReply!

Sample

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