Skip to main content
POST
Node.js SDK

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → Developers → API Keys.

Body

application/json
rootDomain
string
required

The apex domain you own, e.g. 'acme.com'

region
enum<string>

AWS region. Defaults to us-east-1.

Available options:
us-east-1,
eu-west-1
fromName
string

Default From display name for provisioned identities.

vanityRootFrom
boolean

Show the apex domain in the From header when DMARC passes. Defaults to true.

Response

Domain setup complete

success
boolean
data
object