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.
res = mk.setWebhook("id" => "dom_1", "url" => "https://app.com/hooks/mailkite")