Add a domain. Returns the domain + DNS records. Paid plans may pass email_provider_id to choose a provider (list available providers with listEmailProviders); free plans are always pinned to the platform default (SES US East 2 production).
HTTP: POST /api/domains
| Field | Type | Required | Description |
|---|---|---|---|
domain |
string | ✓ |
create-domain-response — see the create-domain-response schema.
res = mk.createDomain({
"domain": "app.mailkite.dev",
})