Webhooks
The webhooks that tell your systems what happens in Kadu, the signing secret and the delivery history, with replay.
Families on this page​
| Family | Tools | read | write | destructive |
|---|---|---|---|---|
webhooks — Webhooks | 6 | 2 | 0 | 4 |
webhook_deliveries — Webhook deliveries | 3 | 2 | 0 | 1 |
webhooks​
| Tool | Kind | Scope | Permission | Endpoint | What it does |
|---|---|---|---|---|---|
kadu_webhooks_list | read | kadu/webhooks + read | agent.webhooks.list | GET /v1/webhooks | Lists the webhooks the organization registered. |
kadu_webhooks_get | read | kadu/webhooks + read | agent.webhooks.read | GET /v1/webhooks/{id} | Gets a webhook (credentials and signing secret are never returned). |
kadu_webhooks_create | destructive | kadu/webhooks + write | agent.webhooks.create | POST /v1/webhooks | Registers a webhook: Kadu will POST the subscribed events to this URL. |
kadu_webhooks_update | destructive (depending on arguments) | kadu/webhooks + write | agent.webhooks.update | PATCH /v1/webhooks/{id} | Updates a webhook. |
kadu_webhooks_delete | destructive | kadu/webhooks + delete | agent.webhooks.delete | DELETE /v1/webhooks/{id} | Deletes a webhook. |
kadu_webhooks_rotate_secret | destructive | kadu/webhooks + write | agent.webhooks.update | POST /v1/webhooks/{id}/rotate-secret | Rotates the signing secret of a webhook. |
webhook_deliveries​
| Tool | Kind | Scope | Permission | Endpoint | What it does |
|---|---|---|---|---|---|
kadu_webhook_deliveries_list | read | kadu/webhook_deliveries + read | agent.webhook_deliveries.list | GET /v1/webhook_deliveries | Lists the 50 most recent webhook deliveries. |
kadu_webhook_deliveries_get | read | kadu/webhook_deliveries + read | agent.webhook_deliveries.read | GET /v1/webhook_deliveries/{id} | Gets a webhook delivery: payload, attempts and the response of the receiver. |
kadu_webhook_deliveries_replay | destructive | kadu/webhook_deliveries + write | agent.webhook_deliveries.replay | POST /v1/webhook_deliveries/{id}/replay | Queues a webhook delivery again, to the same webhook only. |
The fields of each resource are in the API reference.
A tool you cannot run is not listed by tools/list at all. If one from this page is missing, see Authentication.