Skip to content

WebhookConfig

Defined in: alert-channels/alert-channels.ts:27

The config of a WEBHOOK channel, as Checkly returns it.

optional headers?: WebhookKeyValue[]

Defined in: alert-channels/alert-channels.ts:37

Extra headers sent with the request.


method: WebhookMethod

Defined in: alert-channels/alert-channels.ts:33

The HTTP method Checkly uses when it posts.


name: string

Defined in: alert-channels/alert-channels.ts:29

The channel’s display name.


optional queryParameters?: WebhookKeyValue[]

Defined in: alert-channels/alert-channels.ts:39

Extra query parameters appended to the URL.


optional template?: string

Defined in: alert-channels/alert-channels.ts:35

Handlebars body template with Checkly’s {{VARIABLES}}.


url: string

Defined in: alert-channels/alert-channels.ts:31

Where Checkly posts. For Discord this is a webhook URL and is a secret: anyone holding it can post to the channel.


optional webhookSecret?: string

Defined in: alert-channels/alert-channels.ts:43

A secret Checkly sends with the request so the receiver can recognise it.


optional webhookType?: WebhookType

Defined in: alert-channels/alert-channels.ts:41

The service the webhook is formatted for, when it is not a plain webhook.