# Retrieves all corporate email domains Retrieves all configured corporate email domains for the customer. ## Endpoint `GET /endpointdlp/api/corpboundary/emaildomains` ## Request ### Request URL `https://{server-hostname}:8383/endpointdlp/api/corpboundary/emaildomains` ### Scope `EndpointDLP.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/emaildomains.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/endpointdlp/api/corpboundary/emaildomains \ --header 'Accept: application/emaildomains.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `emaildomains` (`JSON array`): List of corporate email domains ### HTTP Code 500 Response Body — `application/json` - `errorCode` (`string`): Internal error code (`INTERNAL_ERROR` / `INTERNAL_SERVER_ERROR`) returned when retrieval of corporate boundary data (web domains, printers, email domains, browsers) fails - `errorMessage` (`string`): Detailed message describing why the corporate boundary fetch failed ## Possible Response Codes - `200` — HTTP code - `500` — HTTP code ## Sample Response: HTTP 200 Successful retrieval of email domains ```json { "emaildomains": [ { "emailDomainVal": "company.com", "emailDomainID": 3001 }, { "emailDomainVal": "gmail.com", "emailDomainID": 3002 } ] } ``` ## Sample Response: HTTP 500 Internal server error ```json { "errorMessage": "Exception Occurred While Retrieving Email Domains Details", "errorCode": "INTERNAL_ERROR" } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.