Magidoc

webhookCreate
Mutation

Creates a new webhook subscription.

Arguments

#

input

Non-null

Fields required to create a webhook.

Response

#

Returns WebhookCreate .

Example

#

    mutation ($input: WebhookCreateInput!) {
  webhookCreate(input: $input) {
    webhookErrors {
      field
      message
      code
    }
    webhook {
      name
      targetUrl
      isActive
      secretKey
      connectionString
      queueName
      id
    }
  }
}

  

3