Set or replace the domain's catch-all webhook.
HTTP: PUT /api/domains/{id}/webhook
| Field | Type | Required | Description |
|---|---|---|---|
url |
string | ✓ |
set-webhook-response — see the set-webhook-response schema.
Object res = mk.setWebhook(Map.of("id", "dom_1", "url", "https://app.com/hooks/mailkite"));