Get All Domains

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

Retrieve a list of all domains added to your CPaaS account.

Endpoint

get /domains

Request URL

https://cpaas.zoho.com/v1.1/domains Copied!

Scope

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

Sample Request

Curl
Java
Python
Deluge
Copied!
curl --request GET \
  --url https://cpaas.zoho.com/v1.1/domains \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Show Sub-Attributes
dataJSON Array
Show Sub-Attributes
object
dkim_statusstringread-only
created_timestringread-only
domain_namestringread-only
domain_keystringread-only
sub_domain_prefixstringread-only
spf_statusstringread-only
is_verifiedbooleanread-only
statusstringread-only

- HTTP code 400

Response Body - application/json
JSON Object
Show Sub-Attributes
errorJSON Object
Show Sub-Attributes
codestringread-only
messagestringread-only
statusstringread-only

Sample Response: HTTP 200

Copied!
  {
    "data": [
      {
        "dkim_status": "verified",
        "created_time": "2025-06-04T08:19:00Z",
        "domain_name": "zylker.com",
        "domain_key": "domain-xxxx",
        "sub_domain_prefix": "mail",
        "spf_status": "verified",
        "is_verified": true
      }
    ],
    "status": "success"
  }
                
▼ Show full

Sample Response: HTTP 400

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