WebhookConfig
Defined in: alert-channels/alert-channels.ts:27
The config of a WEBHOOK channel, as Checkly returns it.
Properties
Section titled “Properties”headers?
Section titled “headers?”
optionalheaders?:WebhookKeyValue[]
Defined in: alert-channels/alert-channels.ts:37
Extra headers sent with the request.
method
Section titled “method”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.
queryParameters?
Section titled “queryParameters?”
optionalqueryParameters?:WebhookKeyValue[]
Defined in: alert-channels/alert-channels.ts:39
Extra query parameters appended to the URL.
template?
Section titled “template?”
optionaltemplate?: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.
webhookSecret?
Section titled “webhookSecret?”
optionalwebhookSecret?:string
Defined in: alert-channels/alert-channels.ts:43
A secret Checkly sends with the request so the receiver can recognise it.
webhookType?
Section titled “webhookType?”
optionalwebhookType?:WebhookType
Defined in: alert-channels/alert-channels.ts:41
The service the webhook is formatted for, when it is not a plain webhook.