MailStack API
Configure domain
Configures the DNS records for the given domain
POST
/
mailstack
/
v1
/
domains
/
configure
Authorizations
X-CUSTOMER-OS-API-KEY
string
headerrequiredBody
application/json
domain
string
Domain is the domain name to be configured Required: true Example: example.com
website
string
Destination website for permanent redirect Required: true Example: www.example.com
Response
201 - application/json
createdDate
string
CreatedDate is the date the domain was registered Example: 09/14/2024
domain
string
Domain is the domain name that was registered Example: example.com
expiredDate
string
ExpiredDate is the date when the domain registration will expire Example: 09/14/2025
message
string
Message provides additional information about the action Example: Domain registered successfully
nameservers
string[]
Nameservers lists the nameservers associated with the domain Example: [ns1.example.com, ns2.example.com]
status
string
Status indicates the result of the action Example: success