setWebhook Set or replace the domain's catch-all webhook. HTTP: PUT /api/domains/{id}/webhook Parameters Field Type Required Description url string ✓ Returns any Example const res = await mk.setWebhook({ id: "dom_1", url: "https://app.com/hooks/mailkite" }); ← All methods · Docs · mailkite.dev