Retrieves all Deployed Email Domains with Custom Group Association Count

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

This API lists all email domains deployed in the network, along with the number of custom groups associated with each domain. It also supports pagination.

Request URL

https://{serverurl}/api/1.4/reports/dlp/networkemailreport

Scope

DesktopCentralCloud.EndpointDLP.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!
Content-TypestringMandatory
application/jsonapplication/jsonCopied!

- Query Parameters

pagestringOptional

This is for navigating to specific pages. This field denotes the current page.

pagelimitstringOptional

specify the number of records to be displayed per page.

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/api/1.4/reports/dlp/networkemailreport \
  --header 'Accept: application/json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/json'

Response Parameters

- HTTP code 200

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

Module Code

message_responseJSON Object

Response.

Show Sub-Attributes
totalinteger

Total Number of Records.

limitinteger

Maximum number of records included in this single response.

dlpJSON Array

DLP.

Show Sub-Attributes
JSON Object
Show Sub-Attributes
cgcountinteger

Number of custom groups to which the email domain is associated.

dlpemaildomains.email_domainstring

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

pageinteger

Page Number.

message_versioninteger

Api Version.

statusinteger

Status of Api call.

response_codeinteger

Response code.

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Copied!
  {
    "response_code": 200,
    "message_type": "dlp",
    "message_response": {
      "total": 2,
      "limit": 25,
      "dlp": [
        {
          "dlpemaildomains.email_domain": "domain.com",
          "cgcount": 1
        },
        {
          "dlpemaildomains.email_domain": "gmail.com",
          "cgcount": 4
        }
      ],
      "page": 1
    },
    "message_version": "1.4",
    "status": "success"
  }
                
Show full