Webhook
This page describes webhook action in more detail
The webhook action can be used to invoke any third-party REST API and sends the sample in the request body.
The HTTP method, multiple custom headers, content type, and authentication method can easily be specified.
Authentication flows (e.g. Oauth2) are not yet supported.

Templating
It is possibly the dynamically customize the webhook url by using template variables. For example https://webhook-url.com?deviceId={{deviceId}}
. Available variables are listed here.
Notably, each template will be url encoded.
template: https://example.com/{{data.param1}}/{{data.param2}}
data.param1: workspaces
data.param2: devices
result: https://example.com/workspaces/devices
Avoid to template the full path as /
will also be encoded:
template: https://example.com/{{data.param1}}
data.param1: workspaces/devices
result: https://example.com/workspaces%2Fdevices
Last updated
Was this helpful?