Creates a new webhook target.
The URL of the webhook endpoint.
The event types that the webhook endpoint will receive.
The headers to include in every webhook invocation.
The secret to use when verifying webhook events. If provided, the secret must be between 8 and 32 bytes (inclusive). If not set, a secret will be automatically generated and provided in the response.
The response to creating a new webhook.