Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 583 Bytes

File metadata and controls

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

set-webhook-response — see the set-webhook-response schema.

Example

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

← All methods · Docs · mailkite.dev