ClickStack: Validate Webhook
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
ClickStack: Validates a webhook body against the same schema, URL rules, and body template check used by POST /api/v2/webhooks. The webhook is never persisted. Use this endpoint at plan time (e.g. from a Terraform provider) to check that a webhook configuration is valid before applying it. Name uniqueness is not checked.
ClickStack: Validates a webhook body against the same schema, URL rules, and body template check used by POST /api/v2/webhooks. The webhook is never persisted. Use this endpoint at plan time (e.g. from a Terraform provider) to check that a webhook configuration is valid before applying it. Name uniqueness is not checked.
Permission
control-plane:service:manage-clickstack-api permission.Authorizations
Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Path Parameters
ID of the organization that owns the service.
ID of the ClickStack service.
Body
Webhook name. Must be unique per service within the team.
"Production Alerts"
Webhook service type.
slack, incidentio, generic "slack"
Webhook destination URL.
"https://hooks.slack.com/services/EXAMPLE/WEBHOOK/URL"
Webhook description, shown in the UI.
"Sends critical alerts to the #incidents channel"
Optional Handlebars request body template. Only for generic/incidentio; rejected for slack. Rejected with a 400 if it does not compile or calls a helper other than eq and the Handlebars built-ins.
"{\"alert\": \"{{title}}\", \"severity\": \"{{level}}\"}"