Pular para o conteúdo principal
POST
ClickStack: Validate Webhook

Autorizações

Authorization
string
header
obrigatório

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Parâmetros de caminho

organizationId
string<uuid>
obrigatório

ID of the organization that owns the service.

serviceId
string<uuid>
obrigatório

ID of the ClickStack service.

Corpo

application/json
name
string
obrigatório

Webhook name. Must be unique per service within the team.

Exemplo:

"Production Alerts"

service
enum<string>
obrigatório

Webhook service type.

Opções disponíveis:
slack,
incidentio,
generic
Exemplo:

"slack"

url
string
obrigatório

Webhook destination URL.

Exemplo:

"https://hooks.slack.com/services/EXAMPLE/WEBHOOK/URL"

description
string

Webhook description, shown in the UI.

Exemplo:

"Sends critical alerts to the #incidents channel"

titleEmoji
boolean

Set to false to omit the state emoji prefix from notification titles sent through this webhook. Unset or true keeps the default prefix.

Exemplo:

false

body
string

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.

Exemplo:

"{\"alert\": \"{{title}}\", \"severity\": \"{{level}}\"}"

headers
object
queryParams
object

Resposta

Successful response

status
number

HTTP status code.

Exemplo:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object