Create a webhook

POST {{baseInfraUrl}}/{{version}}/webhook

Here you can register a new Webhook URL. The subscriptions refer to which kind of Log will be notified to the Webhook URL being registered.

Request Body

{"url"=>"https://webhook.site/287d2ec8-bc67-4a1e-83b9-d3151ebfcfb7", "subscriptions"=>["contract", "credit-note", "signer"]}

RESPONSES

status: OK

{"message":"Webhook successfully created","webhook":{"id":"5930589634953216","subscriptions":["contract","credit-note","signer"],"url":"https://webhook.site/287d2ec8-bc67-4a1e-83b9-d3151ebfcfb7"}}