Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 476 Bytes

File metadata and controls

25 lines (15 loc) · 476 Bytes

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