Verify Domain

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Trigger domain verification for an existing domain. Ensure the required DNS records (SPF, DKIM) are configured before verifying.

Request URL

https://api.zeptomail.com/v1.1/domains/{domain_key}/verify Copied!

Scope

Zeptomail.Domains.UPDATECopied!
(or)
Zeptomail.Domains.ALLCopied!

Request Parameters

- Path Parameters

domain_keystringMandatory

Unique key of the domain to verify.

Sample Request

Curl
Java
Python
Deluge
Copied!
curl --request PUT \
  --url https://api.zeptomail.com/v1.1/domains/{domain_key}/verify \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Show Sub-Attributes
dataJSON Object
Show Sub-Attributes
domain_namestring
is_verifiedboolean
messagestring
statusstring

- HTTP code 400

Response Body - application/json
JSON Object
Show Sub-Attributes
errorJSON Object
Show Sub-Attributes
codestring
messagestring
statusstring

Possible Response Codes

200HTTP code

Domain verification initiated/completed successfully.

400HTTP code

Bad Request — DNS records not found or misconfigured.

Sample Response: HTTP 200

Copied!
  {
    "data": {
      "domain_name": "zylker.com",
      "is_verified": true
    },
    "message": "Domain verified successfully.",
    "status": "success"
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "error": {
      "code": "DM_400",
      "message": "Invalid domain"
    },
    "status": "failure"
  }
                
Show full