Get All Domains

Using this API, you can get the list of all domains. All you need to do is make a request using this API without having to provide any parameter.

Scope required

  • ZohoMarketingAutomation.wa.READ

Header:

Authorization: Zoho-oauthtoken <access_token>

Request Type:

  • GET

Request URL

https://marketingautomation.zoho.com/api/v1/domains

API Limit

  • Duration: 1 min
  • Number of Calls: 100
  • Lock Period: 5 mins

You can send 100 API calls per minute. If you hit this limit, you can't use this API for the next 5 minutes due to security reasons, but you can still use other APIs if their lock period hasn’t been reached.

Possible error cases

Error codeDescription
7701Domain is not configured.
900Mandatory parameters are missing.
7703Domain name already exists
7704No domains found in this account.

If your error code is not listed above, click here.

Sample request

Copiedhttps://marketingautomation.zoho.com/api/v1/domains

Sample Response

Copied{
    "xerox.zyl": {
        "domain_name": "xerox.zyl",
        "domain_status": "Code not embedded",
        "domainid": "29bb77af841821fa756febfd0cb811b03"
    },
    "zylker.com": {
        "domain_name": "zylker.com",
        "domain_status": "Deleted",
        "domainid": "29bb77af841821fa71f0db88921e34a27"
    },
    "code": "200",
    "zylker.in": {
        "domain_name": "zylker.in",
        "domain_status": "Code not embedded",
        "domainid": "29bb77af841821fa7fe0a3788e9318f47"
    },
    "zylker.uk": {
        "domain_name": "zylker.uk",
        "domain_status": "Code not embedded",
        "domainid": "29bb77af841821fa7ac762ef2ab0bb86c"
    },
    "uri": "/api/v1/domains",
    "version": "1"
}