Skip to main content

WebhookActionConfig

Config for webhook actions. The executor POSTs to endpoint when fired.

payload_template is an opaque dict; the executor fills entity, timestamp, decision_value, and condition_id into it before sending. When absent, the executor sends a default payload containing all decision provenance fields.

headers may include auth tokens — these should reference ${ENV_VAR} substitutions resolved at config apply time, never logged as plaintext.

method defaults to 'POST'. 'GET' is permitted for fire-and-forget pings.

typeType (string)required
Constant value: webhook
endpointEndpoint (string)required
methodMethod (string)
Default value: POST
headers object
property name*string
payload_template object
anyOf
object
WebhookActionConfig
{
"type": "webhook",
"endpoint": "string",
"method": "POST",
"headers": {},
"payload_template": {}
}