# Retrieve endpoint-centric license counts Returns an endpoint-focused subset of [Get License Details](https://www.manageengine.com/products/desktop-central/help/api/cloud/get-license-details.html) -- only resource counts (computers, servers, endpoints). Use this lighter API when only device counts are needed. ## Endpoint `GET /dcapi/license/endpoints` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/license/endpoints` ## Scope `DesktopCentralCloud.Admin.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` **Mandatory** - `application/licenseEndpointsDetails.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/license/endpoints \ --header 'Accept: application/licenseEndpointsDetails.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 Response body: `application/json` - `JSON Object` - **isLicensePromoted** `boolean`: True when a registered license is running a higher-edition promotional trial. - **trialDaysLeft** `long`: Days remaining in the promotional trial. Included only when isLicensePromoted is true. - **payNow** `string`: CTA text for purchasing the promoted license. Included only when isLicensePromoted is true. - **downgradeNow** `string`: CTA text for reverting to the previous edition. Included only when isLicensePromoted is true. - **Action** `string`: Action identifier for the downgrade button. Included only when isLicensePromoted is true. - **subscriptionFrequency** `string`: Subscription renewal frequency. Values: `'YEARLY'` or `'MONTHLY'`. - **licenseExpiryDate** `string`: Formatted expiry date for registered licenses. Absent for free and trial licenses. - **endpoints** `JSON Object`: Endpoint license details with purchased count, managed count, and split breakdown. - **servers** `JSON Object`: Server license details with purchased count, managed count, and split breakdown. ### HTTP code 500 Response body: `application/json` - `JSON Object` - **error_code** `integer`: Error code. 1001 indicates an unexpected failure while fetching license endpoint details. - **error_description** `string`: Human-readable error message describing the failure. ### Sample Response: HTTP 200 Registered -- endpoints with OSD split and servers with OSD split: ```json { "licenseExpiryDate": "Dec 31, 2030", "endpoints": { "purchased": 250, "managed": 200, "viewUrl": "/webclient#/uems/agent/som/computers?deviceType=2", "splitDetails": { "managedComputersDetails": [ { "count": 150, "label": "Agent installed" }, { "count": 25, "label": "OS Deployed and agent installed" } ], "managedComputers": 150, "managedOSDComputers": 25, "managedMDMDevices": 25, "title": "Managed computer splitup:" } }, "servers": { "purchased": 10, "managed": 8, "viewUrl": "/webclient#/uems/agent/som/computers?deviceType=1", "splitDetails": { "managedServersDetails": [ { "count": 6, "label": "Agent installed" }, { "count": 2, "label": "OS Deployed and agent installed" } ], "title": "Managed servers splitup:", "managedOSDServers": 2, "managedServers": 6 } }, "subscriptionFrequency": "YEARLY", "isLicensePromoted": false } ``` Free edition -- endpoints only, no splitDetails, no servers: ```json { "endpoints": { "purchased": 25, "managed": 20, "viewUrl": "/webclient#/uems/agent/som/computers?deviceType=2" }, "subscriptionFrequency": "YEARLY", "isLicensePromoted": false } ``` ### Sample Response: HTTP 500 Unexpected server error: ```json { "error_description": "An internal error occurred while processing the request.", "error_code": 1001 } ``` ## Rate Limit ![](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.