Skip to content

sendTestMessageToWebhook

Send test message to webhook.

Arguments

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

Returns

SendTestMessageToWebhookReply!

Sample

mutation SendTestMessageToWebhook($input: SendTestMessageToWebhookInput!) {
  sendTestMessageToWebhook(input: $input) {
    isSuccessful
  }
}
{
  "input": {
    "authInfo": {
      "authType": "AUTH_TYPE_UNSPECIFIED"
    },
    "providerType": "CUSTOM"
  }
}
{
  "data": {
    "sendTestMessageToWebhook": {
      "isSuccessful": true,
      "errorInfo": {
        "errorMessage": "example-string",
        "statusCode": 0
      }
    }
  }
}