# Retrieves computers where the specified user is logged on, with resource IDs, for chat initiation Returns a list of computers associated with the given login name and domain name, along with their resource IDs, used to identify the target computer when initiating a chat session with a specific user. ## Endpoints GET `/dcapi/tools/chat/computerNames` ## Request URL `https://{server-hostname}:8383/dcapi/tools/chat/computerNames` ## Scope `Tools.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/json` ### Sample Request ```bash curl --request GET \ --url https://appdomain/dcapi/tools/chat/computerNames \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 Response Body — `application/json` - `JSON Object` - **computers** `array` - Array of computer objects with resourceId, userResourceId, computerName, domainName, and isOnline for chat session targeting ### Sample Response: HTTP 200 ```json { "computers": [ { "resourceId": 101, "computerName": "WIN-DESKTOP-01", "userResourceId": 5001, "domainName": "CORP", "isOnline": true } ] } ``` ## Possible Response Codes - **200** `HTTP code` ## 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.