Create Webhook
Adds a webhook and generates its secret. Every delivery carries X-Webhook-Signature (t={unix time},v1={hex HMAC-SHA256 of "{t}.{body}" with the secret}) and X-Webhook-Event.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The tenant code (the organisation's URL stub) |
The tenant code (the organisation's URL stub) |
||
Request Body*
{
"name": "string",
"url": "string",
"enabled": false,
"events": [
"TestWebhook"
]
}
Responses
201 Created
401 Unauthorized – Invalid or missing API key