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:

  1. Call this endpoint to get your verification key
  2. Add a TXT record to your domain: {key}.yourdomain.com with value domain-verified
  3. Wait for DNS propagation (typically 5-15 minutes)
  4. 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

successboolean

Example response

{
  "data": {
    "key": "_da-verify-a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
    "record": {
      "type": "TXT",
      "name": "_da-verify-a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
      "value": "domain-verified"
    }
  }
}

Changes