# Retrieves computers where the specified user is currently logged on Returns a list of computers where the specified user (by user resource ID) is currently logged on. Used for initiating chat sessions targeted to a specific user. ## Endpoint `GET /dcapi/tools/{userId}/computerNames` ## Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/{userId}/computerNames ## Scope `DesktopCentralCloud.Tools.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory — `application/json` ### Path Parameters - **userId** `string` — Mandatory The unique identifier of the user ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/tools/{userId}/computerNames \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **computers** `array` Array of computer objects with resourceId, computerName, domainName, and isOnline status ## Sample Response: HTTP 200 ```json { "computers": [ { "resourceId": 101, "computerName": "WIN-DESKTOP-01", "domainName": "CORP", "isOnline": true } ] } ``` ![](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.