Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 750 Bytes

File metadata and controls

27 lines (17 loc) · 750 Bytes

createDomain

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

Parameters

Field Type Required Description
domain string

Returns

create-domain-response — see the create-domain-response schema.

Example

$res = $mk->createDomain([
    'domain' => 'app.mailkite.dev',
]);

← All methods · Docs · mailkite.dev