Configuration

Now that the basic onboarding is complete, let's review all fields in the form and how to use them. We have two more fields to explore here: Templates and Secrets.

Templateschevron-right

Authorization Header

By default, the webhook will accept all POST requests to the given endpoint, which means that anyone can send requests to the endpoint. In order to prevent unauthorized access, you can enable the authorization header which will generate a random access token for you:

This authentication token will only be visible once. If you lose it, you'll need to click the Regenerate button to create a new random token, copy that and save the provider form to apply it.

To use this access token, send the following header as part of your POST request:

Secrets

Secrets section is used to store the credentials safely.

These secrets are encrypted and passed to the process function as params.secrets

Last updated

Was this helpful?