Skip to main content
POST
Purchase Domain

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

The domain to purchase, e.g. 'acme.com'

Required string length: 3 - 253
redirectUrl
string<uri>

Where to send the account owner after checkout completes

Response

Domain purchase started

success
boolean
required
data
object
error
string | null