Skip to main content

Forward Requests

Create new webhook

Create a new webhook endpoint that can be used to receive webhook requests.

Copy CLI command from the UI and run it in your terminal.

CLI forwarwd requests

Command

npx @wt-dev/wt-cli  fw  -f <local-forward-url> token -t <forwarding timeout> <token>
  • -f or --forward-url : Local (or public) URL where requests will be forwarded.
  • -t or --timeout : Timeout in seconds for forwarding request

Endpoint and timeout can also be set by using environment variables WT_FORWARD_URL and WT_TIMEOUT.