Enabling webhooks
Add the[webhooks] section to your .kiwi/config.toml:
Creating a webhook
Register a webhook URL with an optional glob pattern to filter which paths trigger it.Path glob patterns
Glob matching uses Go’s
filepath.Match with an added ** recursive wildcard.
Payload format
Every webhook receives a JSON POST body:Signature verification
Every webhook POST includes three headers for verification:
The signature is computed over
{webhook-id}.{webhook-timestamp}.{body} using the webhook secret as the HMAC key.
Managing webhooks
List all webhooks
The
secret field is omitted from list responses for security.