# Resolves the computer resource ID from a user resource ID for chat initiation Resolves the computer resource ID from the given user resource ID and optional computer name. Used to target the correct endpoint when initiating a chat session for a specific user. ## Endpoint `GET /dcapi/tools/chat/{userId}/resourceID` ## Request Details ### Request URL `https://{server-hostname}:8383/dcapi/tools/chat/{userId}/resourceID` ### 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/chat/{userId}/resourceID \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Details ### Response Parameters #### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **computerResourceId** `long` - Resource identifier of the computer associated with the session - **computerName** `string` - Name of the computer ### Sample Response: HTTP 200 ```json { "computerName": "WIN-DESKTOP-01", "computerResourceId": 101 } ``` ### Possible Response Codes - **200** — HTTP code ## Rate Limit **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.