Webhook

type: webhook — sends an HTTP request with the run summary in the body.

Fields

FieldTypeRequiredNotes
typewebhookyes
urlstringyes
methodstringnoPOST, PUT, etc. Default POST.
headersmap<str,str>noextra HTTP headers (use env: for tokens)

Plus the common fields (name, onSuccess, onFailure).

Example

notifiers:
  - type: webhook
    name: ops
    url: https://hooks.example.com/services/abc123
    method: POST
    headers:
      Authorization: env:WEBHOOK_TOKEN
      X-App: snapr
    onSuccess: true
    onFailure: true