Creating a configuration
A new webhook configuration is created by making an HTTP POST call to <server.url>/api/rest/v1/webhooks. The following parameters are accepted:
Example:
Tip
You can either provide a secret when creating webhooks or you can omit it and allow tg-validatord to provide one for you.
The secret will only be communicated during webhook creation, and it will be passed in plaintext within the creation call. If you omit the shared secret, tg-validatord will use a random base64 string of 45 characters. This string will be used as is without decoding. It will be returned via the API once the creation is successful.
Example response: