Retrieves all corporate email 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

Retrieves all configured corporate email domains for the customer.

Request URL

https://{serverurl}/endpointdlp/api/corpboundary/emaildomains

Scope

DesktopCentralCloud.EndpointDLP.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/emaildomains.v1+jsonapplication/emaildomains.v1+jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/endpointdlp/api/corpboundary/emaildomains \
  --header 'Accept: application/emaildomains.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
emaildomainsJSON Array

List of corporate email domains

Show Sub-Attributes
JSON Object
Show Sub-Attributes
emailDomainIDlong

Unique identifier of the email domain

emailDomainValstring

Email domain value (e.g., gmail.com)

- HTTP code 500

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

Internal error code (INTERNAL_ERROR / INTERNAL_SERVER_ERROR) returned when retrieval of corporate boundary data (web domains, printers, email domains, browsers) fails

errorMessagestring

Detailed message describing why the corporate boundary fetch failed

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Successful retrieval of email domains

Copied!
  {
    "emaildomains": [
      {
        "emailDomainVal": "company.com",
        "emailDomainID": 3001
      },
      {
        "emailDomainVal": "gmail.com",
        "emailDomainID": 3002
      }
    ]
  }
                
Show full

Sample Response: HTTP 500

Internal server error

Copied!
  {
    "errorMessage": "Exception Occurred While Retrieving Email Domains Details",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.