Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 480 Bytes

File metadata and controls

28 lines (18 loc) · 480 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

res = mk.setWebhook({
    "id": "dom_1",
    "url": "https://app.com/hooks/mailkite",
})

← All methods · Docs · mailkite.dev