# Retrieve full license details including edition, counts, and add-ons Returns the complete license state -- edition, expiry, resource counts, and add-on details. For a lighter endpoint-only view, use [Get License Endpoints](https://www.manageengine.com/products/desktop-central/help/api/onpremise/get-license-endpoints.html). ## Endpoint `GET /dcapi/license` ## Request ### Request URL ```text https://{server-hostname}:8383/dcapi/license ``` ### Scope `Admin.READ` ### Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/licenseDetails.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/license \ --header 'Accept: application/licenseDetails.v1+json' \ --header 'Authorization: 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. When true, additional keys trialDaysLeft, payNow, downgradeNow, and Action are included in the response. - **trialDaysLeft** (`long`): Days remaining in the promotional trial. Included only when isLicensePromoted is true. - **payNow** (`string`): CTA text for purchasing the promoted license (e.g. 'Purchase License'). Included only when isLicensePromoted is true. - **downgradeNow** (`string`): CTA text for reverting to the previous edition (e.g. 'Retain Enterprise'). Included only when isLicensePromoted is true. - **Action** (`string`): Action identifier for the downgrade button. Value is always 'Downgrade'. Included only when isLicensePromoted is true. - **licenseEdition** (`string`): Localized license edition display message (e.g. 'Enterprise Edition - Registered Version', 'Free', 'Security Edition - Trial Version'). Varies by license type and plan. - **productName** (`string`): Product display name (e.g. 'Endpoint Central Cloud'). - **buildNumber** (`string`): Build-number string (e.g. 11.3.2423.0). - **licensedTo** (`string`): Company name for registered licenses; username for free/trial licenses. - **licenseExpiryDate** (`string`): Formatted expiry date for registered licenses (e.g. 'Dec 31, 2030' or 'Never'). Absent for free and trial licenses. - **evaluationDaysLeft** (`string`): String-formatted days remaining for trial licenses (e.g. '22'). Absent for registered and free licenses. - **subscriptionFrequency** (`string`): Subscription renewal frequency. Values: 'YEARLY' or 'MONTHLY'. - **addonDetails** (`JSON Object`): Add-on enablement status and detailed list including multi-language pack, training, and premium support. - **users** (`JSON Object`): Technician/user license details with purchased and managed counts. - **endpoints** (`JSON Object`): Endpoint license details with purchased count, managed count, and split breakdown. Present when the product supports endpoint counting. - **computers** (`JSON Object`): Computer license details with purchased and managed counts. Present when endpoints key is not used. - **servers** (`JSON Object`): Server license details with purchased count, managed count, and split breakdown. Present when the product uses server-based licensing. - **storageSpace** (`JSON Object`): Storage add-on details with purchased (GB) and managed (formatted GB string) values. Present when storage add-on is enabled. - **smsCredits** (`JSON Object`): SMS credit details with purchased and managed counts. Present when the product supports SMS credits. ### HTTP code 500 #### Response Body — `application/json` - JSON Object - **error_code** (`integer`): Error code. 1001 indicates an unexpected failure while fetching license details. - **error_description** (`string`): Human-readable error message describing the failure. ### Possible Response Codes - **200**: HTTP code - **500**: HTTP code ## Sample Response: HTTP 200 ### Registered license -- simplest structure with computers key, no servers, no storage, no sms ```json { "licenseEdition": "Enterprise Edition - Registered Version", "licenseExpiryDate": "Dec 31, 2030", "addonDetails": { "isBasicTrainingEnabled": false, "isPremiumSupportEnabled": false, "isMultiLangEnabled": false }, "subscriptionFrequency": "YEARLY", "buildNumber": "11.3.2423.0", "productName": "(product-specific)", "licensedTo": "Acme Corporation", "users": { "purchased": 5, "managed": 3, "viewUrl": "/webclient#/uems/admin/user-administration/users" }, "computers": { "purchased": 250, "managed": 200, "viewUrl": "/webclient#/uems/agent/som/computers?deviceType=2" }, "isLicensePromoted": false } ``` ### Trial license with computers key ```json { "licenseEdition": "Enterprise Edition - Trial Version", "evaluationDaysLeft": "22", "addonDetails": { "isBasicTrainingEnabled": false, "isPremiumSupportEnabled": false, "isMultiLangEnabled": false }, "subscriptionFrequency": "YEARLY", "buildNumber": "11.3.2423.0", "productName": "(product-specific)", "licensedTo": "admin", "users": { "purchased": 1, "managed": 1, "viewUrl": "/webclient#/uems/admin/user-administration/users" }, "computers": { "purchased": 25, "managed": 10, "viewUrl": "/webclient#/uems/agent/som/computers?deviceType=2" }, "isLicensePromoted": false } ``` ### Free edition with computers key ```json { "licenseEdition": "Free", "addonDetails": { "isBasicTrainingEnabled": false, "isPremiumSupportEnabled": false, "isMultiLangEnabled": false }, "subscriptionFrequency": "YEARLY", "buildNumber": "11.3.2423.0", "productName": "(product-specific)", "licensedTo": "admin", "users": { "purchased": 1, "managed": 1, "viewUrl": "/webclient#/uems/admin/user-administration/users" }, "computers": { "purchased": 25, "managed": 20, "viewUrl": "/webclient#/uems/agent/som/computers?deviceType=2" }, "isLicensePromoted": false } ``` ## Sample Response: HTTP 500 ### Unexpected server error while fetching license details ```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.