# 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 ### Request URL `https://{server-hostname}:8383/dcapi/tools/{userId}/computerNames` ### Scope `Tools.READ` ### Header `Authorization: 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://appdomain/dcapi/tools/{userId}/computerNames \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response body: `application/json` - JSON Object - **computers** (`array`): Array of computer objects with resourceId, computerName, domainName, and isOnline status ### Possible Response Codes - **200** (`HTTP code`) ### Sample Response: HTTP 200 ```json { "computers": [ { "resourceId": 101, "computerName": "WIN-DESKTOP-01", "domainName": "CORP", "isOnline": true } ] } ``` ## Rate Limiting ![](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.