# Returns credential mappings Returns credential mappings for device control operations. ## Endpoint `GET /dcapi/device/credentialMappings` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/device/credentialMappings ### Scope `DesktopCentralCloud.DeviceControl.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Content-Type** (`string`, Mandatory): `application/json` ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/device/credentialMappings \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — `application/json` `JSON Object` - **credentialMappings** (`JSON Array`): List of credential mappings grouped by domain/workgroup - **name** (`string`): Domain or workgroup name - **credentiallist** (`JSON Array`): List of credentials for this domain/workgroup ### Sample Response: HTTP 200 Credential mappings response ```json { "credentialMappings": [ { "name": "ZOHOCORP", "credentiallist": [ { "credName": "DCP", "credUUID": "abc-def-123", "credType": "301", "credLabel": "DCP / admin", "credID": "1", "userName": "admin" } ] } ] } ``` ### HTTP Code 500 #### Response Body — `application/json` `JSON Object` - **errorCode** (`string`): Error code identifying the type of error - **errorMsg** (`string`): Human-readable error message ### Sample Response: HTTP 500 Internal server error ```json { "errorCode": "INTERNAL_ERROR", "errorMsg": "Internal Server Error!" } ``` ## Rate Limits ![](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.