Account
Get domain verification key
Returns your domain verification key, which must be added as a DNS TXT record before adding new domains to your account.
Automation workflow:
- Call this endpoint to get your verification key
- Add a TXT record to your domain: {key}.yourdomain.com with value domain-verified
- Wait for DNS propagation (typically 5-15 minutes)
- Call POST /domains to add the domain
get/verification-key
Request
- Base URL: https://api.mxroute.com
- URL: https://api.mxroute.com/verification-key
- Auth: API key in header X-Server and API key in header X-Username and API key in header X-API-Key
Response
Verification key retrieved
Example response
{
"data": {
"key": "_da-verify-a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"record": {
"type": "TXT",
"name": "_da-verify-a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"value": "domain-verified"
}
}
}