weakforced

Anti-Abuse for servers at authentication time

View on GitHub

% WFORCE_WEBHOOK(5) % Open-Xchange % 2018

NAME

wforce_webhook - Documentation for wforce webhook functionality

DESCRIPTION

The wforce daemon supports generating webhooks which run for specific events. The list of supported events, example payload for those events, and the supported configuration keys for those events are documented here. A summary of the custom HTTP(S) POST headers is also included.

WEBHOOK EVENTS

See wforce.conf(5) for details of the “addWebHook()” configuration setting. The following events are available for generating webhooks:

CUSTOM WEBHOOKS

See wforce.conf(5) for details of the “addCustomWebHook()” configuration setting. This enables custom webhooks to be generated from Lua.

WEBHOOK CONFIGURATION KEYS

See wforce.conf(5) for details of the “addWebHook()” configuration setting. The following configuration keys can be used for all events:

The following configuration keys are custom to specific events:

WEBHOOK CUSTOM HTTP HEADERS

The following custom headers will be added to the POST request for each event:

WEBHOOK HTTP Content-Type HEADER

The HTTP Content-Type header defaults to application/json, and cannot be changed for normal webhooks. Custom webhooks however can change it using the “content-type” configuration key.

FILES

/etc/wforce.conf

SEE ALSO

wforce(1) wforce_webhook(5) wforce_api(7)