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
domain
string
required

Domain name (e.g., mail.example.com)

Response

Domain added

success
boolean
required
data
object
error
string | null