Verification Status a domain

GET/api/v1/domains/{domain}/verification-status
Requires anorganization API keywith the scopedomains:read

Parameters

NameInTypeDescription
domainrequiredpathstringThe domain id, or the domain name itself.

Request

GET/api/v1/domains/{domain}/verification-status
curl -X GET 'https://app.mailyte.com/api/v1/domains/yourdomain.com/verification-status' \
  -H 'Authorization: Bearer mk_live_YOUR_API_KEY'
The key names its own organization, so no X-Organization-ID header is needed.

Response

Success.

  • dataobject
    • objectstringdomain_verification
    • domain_idstring
    • sendingobject
      • enabledboolean

        Whether this domain may send. The same value as `sending.enabled` on the domain itself.

      • requiresarray<string>

        The records in `checks` that must pass for this verdict. The same list `GET /domains/{domain}` publishes.

      • messagestring

        Why this verdict is false, or null when it is true. One record at a time: the first failure, not every failure.

    • receivingobject
      • enabledboolean

        Whether mail addressed to this domain is delivered here. A send-only domain is expected to be false, and that is not a fault.

      • requiresarray<string>

        The records in `checks` that must pass for this verdict. The same list `GET /domains/{domain}` publishes.

      • messagestring

        Why this verdict is false, or null when it is true. One record at a time: the first failure, not every failure.

    • checksobject

      One entry per record, always all four, whether or not the mail server had an answer for it.

      • spfobject
        • required_forstringsending | receiving

          Which verdict this record feeds. null means it is reported but blocks nothing.

        • verifiedboolean
        • messagestring

          What is wrong with the record, when the mail server said. Null is "no comment", not "no problem".

      • dkimobject
        • required_forstringsending | receiving

          Which verdict this record feeds. null means it is reported but blocks nothing.

        • verifiedboolean
        • messagestring

          What is wrong with the record, when the mail server said. Null is "no comment", not "no problem".

      • mxobject
        • required_forstringsending | receiving

          Which verdict this record feeds. null means it is reported but blocks nothing.

        • verifiedboolean
        • messagestring

          What is wrong with the record, when the mail server said. Null is "no comment", not "no problem".

      • dmarcobject
        • required_forstringsending | receiving

          Which verdict this record feeds. null means it is reported but blocks nothing.

        • verifiedboolean
        • messagestring

          What is wrong with the record, when the mail server said. Null is "no comment", not "no problem".

    • advisoryarray<string>

      Things worth doing that block nothing -- publishing DMARC, pointing MX here. Empty on a status read, which composes none.

    • checked_atstring

      When the mail server last resolved these records. Null when it never has, NOT the time of this request.

Returned inside the standard envelope.

Errors

StatusWhen
401The API key is missing, unknown, revoked or expired. All four answer identically, on purpose: distinguishing them would confirm which keys exist.
403The key is valid but may not do this: it lacks the required scope, its IP allowlist does not include you, or this endpoint does not accept API keys.
404No such resource in this organization.
422The request was understood but the values were not acceptable.
429Too many requests, or the organization has spent its sending allowance. `Retry-After` says how long to wait.

Every status, with what causes it and what to do, is on the error reference.